Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11038 closed defect (bug) (wontfix)

<a name=""></a> tags striped of content

Reported by: nonegiven Owned by:
Milestone: Priority: normal
Severity: major Version: 2.8.5
Component: Formatting Keywords:
Focuses: Cc:


Hi. I am using v.2.8.5 with Ahimsa theme. Safari v.4 browser.

Everything I change from visual editor to HTML editor, the content within <a name=""></a> tags is striped.

For example:

<a name="top">This is the title at the top</a>


<a name="top"></a>

I have not explored it entirely but it appears reproducible. it may also be being striped elsehow but I have to explore more.

Change History (4)

#1 @nonegiven
11 years ago

This also applies to any tags placed with the 'name' tag, e.f. <strong> and so on.

#2 @azaozz
11 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

The visual editor validates for XHTML 1.0 and the name="something" is deprecated there except in form elements. You can also use it for empty anchors as in your example (place them above the content you want the browser to scroll to).

#3 @strider72
11 years ago

The bug should be fixed, but in the meantime, can you use "id" instead of "name"?

If memory serves, in XHTML Strict, "name" is also still useable in imagemaps.

#4 @Denis-de-Bernardy
11 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.