[ 
https://issues.apache.org/jira/browse/MSKINS-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531215#comment-14531215
 ] 

Keegan Witt commented on MSKINS-86:
-----------------------------------

[~ctubbsii] They're 
[voting|http://maven.40175.n5.nabble.com/VOTE-Release-Apache-Maven-Fluido-Skin-Version-1-4-td5833793.html]
 on whether to release 1.4 that would contain this fix.  I want this fix too, 
so here's hoping it lands soon.

> class prettyprint not added to pre tags
> ---------------------------------------
>
>                 Key: MSKINS-86
>                 URL: https://issues.apache.org/jira/browse/MSKINS-86
>             Project: Maven Skins
>          Issue Type: Bug
>          Components: Fluido Skin
>    Affects Versions: fluido-1.3.0
>         Environment: maven-site-plugin 3.3
>            Reporter: Martin Kurz
>            Assignee: Michael Osipov
>             Fix For: fluido-1.4
>
>         Attachments: fluido.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. 
> {noformat}
> $bodyContent.replaceAll( "<div class=\"source\"><pre>", "<div 
> class=\"source\"><pre class=\"$sourceStyle\">" )
> {noformat}
> should be
> {noformat}
> $bodyContent.replaceAll( "<div class=\"source\">\\s*<pre>", "<div 
> class=\"source\"><pre class=\"$sourceStyle\">" )
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to