michael-o commented on code in PR #193:
URL: https://github.com/apache/maven-doxia/pull/193#discussion_r1443255958
##########
doxia-modules/doxia-module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptSinkTest.java:
##########
@@ -126,6 +126,11 @@ protected String getSection5Block(String title) {
return EOL + StringUtils.repeat(AptMarkup.SECTION_TITLE_START_MARKUP,
4) + title + EOL + EOL + EOL;
}
+ /** {@inheritDoc} */
+ protected String getSection6Block(String title) {
+ return EOL + StringUtils.repeat(AptMarkup.SECTION_TITLE_START_MARKUP,
4) + title + EOL + EOL + EOL;
Review Comment:
4, not 5?
##########
doxia-modules/doxia-module-xhtml5/src/main/java/org/apache/maven/doxia/module/xhtml5/Xhtml5Parser.java:
##########
@@ -158,7 +158,7 @@ protected void handleEndTag(XmlPullParser parser, Sink sink)
} else if (parser.getName().equals(TITLE.toString())) {
sink.title_();
} else if (parser.getName().equals(BODY.toString())) {
- consecutiveSections(0, sink, null);
+ emitHeadingSections(0, sink, false);
Review Comment:
This one confuses me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]