Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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)

comment:1 @nonegiven6 years ago

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

comment:2 @azaozz6 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).

comment:3 @strider726 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.

comment:4 @Denis-de-Bernardy6 years ago

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