[ https://issues.apache.org/jira/browse/DOXIA-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909348#comment-17909348 ]
Konrad Windszus commented on DOXIA-772: --------------------------------------- [~michael-o] This is a regression of DOXIA-619. In fact the Sink API always supported h1, but only via {{Sink.sectionTitle()}}. Since changing the semantics of {{Sink.sectionTitleX(....)}} now again will lead to lots of backwards compatibility issues I propose to make {{Sink.sectionTitle()}} behave the same as {{Sink.sectionTitle1()}}. WDYT? > AbstractSink.sectionTitle() calls Sink.sectionTitle(...) method with invalid > level argument > ------------------------------------------------------------------------------------------- > > Key: DOXIA-772 > URL: https://issues.apache.org/jira/browse/DOXIA-772 > Project: Maven Doxia > Issue Type: Bug > Reporter: Konrad Windszus > Priority: Major > > According to > https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#sectionTitle-int-org.apache.maven.doxia.sink.SinkEventAttributes- > the {{level}} argument must be between 1 and 6. However > {{AbstractSink.sectionTitle()}} calls it with {{level}} being 0 > (https://github.com/apache/maven-doxia/blob/ef20da287e49dbbe4ac92a82e7593b3c897ce126/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/AbstractSink.java#L84) -- This message was sent by Atlassian Jira (v8.20.10#820010)