Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-420

1.1 is not supposed to generate anchors for section titles, but it does

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.1.4
    • None
    • Module - Apt
    • 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:

      http://svn.apache.org/viewvc/maven/doxia/site/src/site/apt/references/doxia-apt.apt?revision=985438&view=markup

      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

          Activity

            People

              ltheussl Lukas Theussl
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: