[wp-trac] [WordPress Trac] #26332: TinyMCE stripping <a id="abc"></a> on empty line
WordPress Trac
noreply at wordpress.org
Sat Jan 9 14:23:20 UTC 2016
#26332: TinyMCE stripping <a id="abc"></a> on empty line
----------------------------+------------------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.2
Severity: normal | Resolution:
Keywords: upstream close | Focuses:
----------------------------+------------------------------
Changes (by afercia):
* keywords: upstream => upstream close
Comment:
For accessibility, I think WordPress shouldn't encourage the usage of
empty links. Reading the post on the support forum, also the usage of
links for interactive controls
{{{
<a href="#"></a>
}}}
shouldn't be encouraged. Controls that behave like buttons should be
buttons.
I don't see a use case for
{{{
<a id="abc"></a>
}}}
unless I'm missing something.
Just tested and
{{{
<a name="foo"></a>
}}}
is always preserved, both within a line of text and in its own line. Would
propose wontfix :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26332#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list