Hi Herve,
I have reworked the old code of surefire in pre.
Since now we will not print br after every new line.
Just printing plain text as it is in pre.
I will push the fix in the evening.
Cheers
--
View this message in context:
http://maven.40175.n5.nabble.com/Doxia-does-not-generate-br
related code is
http://maven.apache.org/doxia/doxia/doxia-core/xref/org/apache/maven/doxia/sink/XhtmlBaseSink.html#L1762
no magic about previous line is finished with \n: the only special handling
is that inside a pre, you don't need a br but just a newline
can somebody share generated html
Can somebody experienced with Doxia tell me what's going on with the call
sink.lineBreak()?
It really looks like br is generated if and only if the previous line is
finished with \n, i.e., sink.text( line + \n );
Is it expected Doxia optimization or a bug?
I found this issue after I dig into