Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
fluido-1.3.0
-
None
-
maven-site-plugin 3.3
-
Patch
Description
When generating site with maven-site-plugin 3.3, the class prettyprint isn't added to pre tags, because in version 3.3, there's a newline between <div class="source"> and <pre>, so the replacement in fluido site template fails and syntax highlighting and line numbering isn't working.
$bodyContent.replaceAll( "<div class=\"source\"><pre>", "<div class=\"source\"><pre class=\"$sourceStyle\">" )
should be
$bodyContent.replaceAll( "<div class=\"source\">\\s*<pre>", "<div class=\"source\"><pre class=\"$sourceStyle\">" )
Attachments
Attachments
Issue Links
- is duplicated by
-
MSKINS-95 Doxia 1.6 puts a line break between div and pre, pretty print is broken
- Closed