[wp-trac] Re: [WordPress Trac] #8850: WYSIWYG editor corrects invalid video embed code

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 14 03:35:17 GMT 2009


#8850: WYSIWYG editor corrects invalid video embed code
--------------------------------------------------------+-------------------
 Reporter:  fd                                          |        Owner:  azaozz
     Type:  defect (bug)                                |       Status:  new   
 Priority:  normal                                      |    Milestone:  2.8   
Component:  TinyMCE                                     |      Version:  2.7   
 Severity:  normal                                      |   Resolution:        
 Keywords:  youtube embed tinymce editor video wysiwyg  |  
--------------------------------------------------------+-------------------
Changes (by azaozz):

  * summary:  WYSIWYG editor mangles video embed code => WYSIWYG editor
              corrects invalid video embed code

Comment:

 This is HTML validity issue. The `<embed>` tag is invalid in both HTML 4
 and XHTML 1. Also all attributes like `name` have to be in lower case in
 XHTML 1. It seems TinyMCE has properly converted "allowFullScreen" to
 lower case but hasn't removed the invalid version. Will pass this upstream
 to the TinyMCE team.

 If you need to support the non-standard tags for embedding video in your
 RSS feed, perhaps use a plugin specifically written for that.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8850#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list