[wp-trac] [WordPress Trac] #21528: A tag bug with NAME and HREF parameter

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 9 19:27:50 UTC 2012


#21528: A tag bug with NAME and HREF parameter
---------------------------------+------------------------------
 Reporter:  matthewvb@…          |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  TinyMCE              |     Version:  3.4.1
 Severity:  normal               |  Resolution:
 Keywords:  close                |
---------------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => close


Comment:

 This has come up before. The visual editor separates anchors and links as
 the `name` attribute was formally deprecated in XHTML 1.0. In HTML 5.0
 this was "downgraded" to a recommendation to always use `ID` instead of
 `name`.

 Currently you can use an anchor followed by a link:
 {{{
 <a name="123"></a><a href="go-there">...</a>
 }}}
 which will work in exactly the same way.

 If you really need to still use <a name="..."> and have it act as a link
 too, perhaps open a ticket on TinyMCE's
 [http://www.tinymce.com/develop/bugtracker.php bug-tracker].

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


More information about the wp-trac mailing list