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

WordPress Trac noreply at wordpress.org
Sat Dec 15 00:01:26 UTC 2012


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

Comment (by azaozz):

 Replying to [comment:18 bradyvercher]:
 > ...are there any downsides to making the change in the patch so href-
 less <a> tags can be treated like links?

 Ah, I see. That's a good question. I'm afraid this will need to be changed
 upstream. Thinking the Link/Unlink buttons shouldn't be disabled when the
 user has clicked in an <a> tag, no matter if there's an href, name, or no
 attributes. That would change the way the Anchor button works (this button
 is not used in WordPress by default) but would fit the HTML 5.0 spec
 better.

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


More information about the wp-trac mailing list