[ https://issues.apache.org/jira/browse/DOXIA-764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905089#comment-17905089 ]
Konrad Windszus commented on DOXIA-764: --------------------------------------- Unfortunately the semantics of the {{source}} tag in https://maven.apache.org/doxia/references/xdoc-format.html#The_.3Csource.3E_tag and https://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-xdoc/xsddoc/http___maven.apache.org_XDOC_2.0/element/source.html are very fuzzy. Is this supposed to be an inline or block element? So is everything contained within supposed to be trimmed? [~michael-o] Any idea? > XDoc source has a spurious new line at the beginning > ---------------------------------------------------- > > Key: DOXIA-764 > URL: https://issues.apache.org/jira/browse/DOXIA-764 > Project: Maven Doxia > Issue Type: Bug > Components: Module - Xdoc > Affects Versions: 2.0.0 > Reporter: Konrad Windszus > Priority: Major > > HTML rendered from the following XDoc snippet > {code} > <source> > sink.paragraph(); > sink.text( "my text" ); > sink.paragraph_(); </source> > {code} > has a spurious new line at the beginning when rendered as HTML: > {code} > <pre class="prettyprint linenums"><code> > sink.paragraph(); > sink.text( "my text" ); > sink.paragraph_(); </code></pre> > {code} > Probably a regression of DOXIA-731. -- This message was sent by Atlassian Jira (v8.20.10#820010)