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

Section titles are not becoming anchors.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-alpha-11
    • None
    • Module - Apt
    • None

    Description

      When I run a apt file with section titles in it, it does not create anchors for these titles.

      Because of this reason, the toc macro also does not work.

      The method Sink.anchor(...) is also only invoked once from the AptParser class at the place where it is resolving normal anchors and links.

      In case the Sink implementing class should implement creating an anchor for each section, than the bug is in the XhtmlSink (which is the only one I've tested it with) but I don't see such a contract defined in the Sink interface so I assume this is the responsibility of the Parser.

      Attachments

        1. Test.java
          0.6 kB
          Lammert Westerhoff
        2. file.html
          0.3 kB
          Lammert Westerhoff
        3. file.apt
          0.0 kB
          Lammert Westerhoff

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              lwesterhoff Lammert Westerhoff
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: