[wp-trac] Re: [WordPress Trac] #6549: Output broken in
wp-admin/widgets.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 1 08:00:19 GMT 2009
#6549: Output broken in wp-admin/widgets.php
------------------------------+---------------------------------------------
Reporter: hakre | Type: defect (bug)
Status: new | Priority: normal
Milestone: 2.8 | Component: Widgets
Version: | Severity: normal
Keywords: Output has-patch |
------------------------------+---------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:5 hakre]:
> Replying to [comment:4 Denis-de-Bernardy]:
> > imo, this is asking for trouble... any widget with, not just a -->,
but also a --, will break.
>
> can you explain to me why even -- will break it?
Sure. Some versions of IE or FF (can't recall) behave weird when they run
into a -- enclosed within an html tag.
For what it's worth, I ran into such a bug with my mediacaster plugin. The
user had a file like:
{{{
[media:foo--bar.flv]
}}}
I can't recall how the latter got transformed by the code that would be
outputted should have worked fine on paper. Nonetheless, one of the
browsers would consider it was an opening comment, and proceeded to
"comment out" the rest of the page...
D.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6549#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list