You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Hervé BOUTEMY <he...@free.fr> on 2015/06/10 00:08:54 UTC
Re: Doxia does not generate
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 that is causing the issue?
I don't understand what we are chasing (for 1 year)
Regards,
Hervé
Le lundi 8 juin 2015 11:10:25 Tibor Digana a écrit :
> 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
> https://github.com/apache/maven-surefire/pull/41
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Doxia does not generate
Posted by Tibor Digana <ti...@apache.org>.
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-tp5837110p5837320.html
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org