[wp-trac] [WordPress Trac] #22888: Block <a> tags are getting stripped from the Editor

WordPress Trac noreply at wordpress.org
Wed Dec 12 14:26:06 UTC 2012


#22888: Block <a> tags are getting stripped from the Editor
-----------------------------+------------------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:  3.5
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------

Comment (by georgestephanis):

 It's a regression insofar as the new HTML5 schema in TinyMCE is allowing
 <a> tags to be wrapped around block level tags, like <h1> (which didn't
 used to happen) -- but the filter that passes through the code when
 loading it into the visual editor isn't recognizing that and stripping it
 out (which always used to happen)

 So the change from 3.4.2 isn't that we're doing something new in a given
 situation per se, we're just letting users get into that situation whereas
 they couldn't previously.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22888#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list