kwin commented on code in PR #251:
URL: https://github.com/apache/maven-doxia/pull/251#discussion_r1884183287
##########
doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java:
##########
@@ -241,6 +246,23 @@ protected void handleEndTag(XmlPullParser parser, Sink
sink)
isEmptyElement = false;
}
+ /** {@inheritDoc} */
+ protected void handleText(XmlPullParser parser, Sink sink) throws
XmlPullParserException {
Review Comment:
after having a 2nd thought, this rather seems to be an issue with the
XhtmlSink which does not properly trim text following verbatim (with source
decoration), as
https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#verbatim--
is defined as block element (so I think assuming that its content is trimmed
seems to be valid). WDYT @michael-o ? ->
https://issues.apache.org/jira/browse/DOXIA-767
--
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]