-
Suggestion
-
Resolution: Won't Fix
-
None
Confluence places anchors to page headings before the heading element rather than wrapping the heading element.
Current behaviour:
<h2><a name="anchor-name"></a>A heading</h2>
Desired behaviour:
<a name="anchor-name"><h2>A heading</h2></a>
- is related to
-
CONFSERVER-8032 Use HTML id instead of empty named anchors in headings
- Closed
I'm marking this as "Won't Fix" because the suggested behaviour detailed at EDITLIVE-2 causes problems, mainly:
1) You can no longer hyperlink text inside the heading
2) The heading text would be affected by any CSS selecting anchor elements
We've decided to use an ID instead as detailed at
CONF-8032which sidesteps this problem.