Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.1.4
-
None
-
None
Description
According to
http://maven.apache.org/doxia/references/doxia-apt.html#Anchors_for_section_titles
"Contrary to the original APT format, section titles are not implicitly defined anchors. If you want an anchor for a section title you need to define it explicitly as such:"
However, Doxia does generate anchors for section headers.
This is clear from the URL above; the underlying HTML is:
<h4><a name="Anchors_for_section_titles">Anchors for section titles</a><a name="Anchors_for_section_titles"></a></h4>
Compare with the code for
http://maven.apache.org/doxia/references/doxia-apt.html#Enhancements_to_the_APT_format
at the top of the page, and then compare with the APT source:
which does not have {} round the initial section header, yet the anchor is still generated.
Headers with {} around them have 2 anchors.
Attachments
Issue Links
- is related to
-
DOXIASITETOOLS-53 SiteRender generates double anchors for section headers
- Closed