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

Support of h6 in xhtml output is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0, 2.0.0-M9
    • Modules, Sink API
    • None

    Description

      It seems that due to https://github.com/apache/maven-doxia/commit/87d1ab3979d9df3f6c9af2b2c9bb3baf4152d8b1 the support for headings on level 6 has been completely dropped, e.g. the heading from https://github.com/apache/maven-site/blob/f8579f4f91aa826501528b64a7c6baadf6492986/content/markdown/guides/mini/guide-configuring-plugins.md?plain=1#L284 is valid in markdown but is incorrectly rendered as regular paragraph in https://maven.apache.org/guides/mini/guide-configuring-plugins.html.

      As (X)HTML defines headings from level 1 - 6 (as well as markdown, see https://daringfireball.net/projects/markdown/syntax#header) I guess the sink needs new methods for dealing with a 6th section. The restriction to 5 sections in the Sink API seems to stem from APT which only supports 5 levels (https://maven.apache.org/doxia/references/apt-format.html#section)

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: