-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: fluido-1.3.0
-
Fix Version/s: fluido-1.4
-
Component/s: Fluido Skin
-
Labels:None
-
Environment:maven-site-plugin 3.3
-
Flags:Patch
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\">" )
- is duplicated by
-
MSKINS-95 Doxia 1.6 puts a line break between div and pre, pretty print is broken
-
- Closed
-