[wp-trac] Re: [WordPress Trac] #8850: WYSIWYG editor fails to
correct invalid video embed code
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 14 16:41:40 GMT 2009
#8850: WYSIWYG editor fails to correct 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 |
--------------------------------------------------------+-------------------
Comment (by fd):
The original <object> tag and all of the <param> tags were already valid.
The only tag that was invalid was the <embed> tag. And only because it is
deprecated, not because it wasn't well-formed.
And something really interesting I just discovered: if you use the
[youtube] quicktag on WordPress.com, it does it the YouTube way with the
<embed> tag.
I think we may have a difference in ideology (which is fine). I understand
that it's important to try and improve compatibility for broad user
acceptance. But I also think that if I type valid tags (like the <param
name="movie"...> or <object> tags) into the HTML editor then the editor
shouldn't alter or delete them. Maybe a new option on the Writing pane
could be added: "Don't automatically improve/correct XHTML"
I did some more testing with Google Reader and, unfortunately, the only
form it seems to like is the one with the <embed> tag. Since Google Reader
has the largest market share among feed aggregators, I'm forced to use the
<embed> tag which means I'll have to use a plugin and do it like
WordPress.com does.
--
Ticket URL: <http://trac.wordpress.org/ticket/8850#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list