[
https://issues.apache.org/jira/browse/DOXIA-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated DOXIA-695:
----------------------------------
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/blame/master/content/markdown/guides/mini/guide-configuring-plugins.md#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)
was:
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/blame/master/content/markdown/guides/mini/guide-configuring-plugins.md#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.
> 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/blame/master/content/markdown/guides/mini/guide-configuring-plugins.md#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)