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 ?



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to