You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/02/14 08:51:00 UTC

[jira] [Commented] (DOXIA-695) Support of h6 in xhtml output is broken

    [ https://issues.apache.org/jira/browse/DOXIA-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688375#comment-17688375 ] 

Michael Osipov commented on DOXIA-695:
--------------------------------------

It has not been really dropped, but moved since section1 always mapped to h2, and so on. It has been shifted. I haven't introduced real h6 because I haven't seen a need for such deep nesting. If you think it is necessary, you need to make it consistent through the ENTIRE API and the modules.

> Support of h6 in xhtml output is broken
> ---------------------------------------
>
>                 Key: DOXIA-695
>                 URL: https://issues.apache.org/jira/browse/DOXIA-695
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Modules, Sink API
>            Reporter: Konrad Windszus
>            Priority: Major
>
> 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])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)