You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rautureau (JIRA)" <ji...@codehaus.org> on 2013/07/04 19:28:05 UTC

[jira] (MSITE-692) The maven-site-plugin v3.3 does not render snippets as in v3.2 (Syntax highlighting and line numbers)

Rautureau created MSITE-692:
-------------------------------

             Summary: The maven-site-plugin v3.3 does not render snippets as in v3.2 (Syntax highlighting and line numbers)
                 Key: MSITE-692
                 URL: https://jira.codehaus.org/browse/MSITE-692
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: doxia integration
    Affects Versions: 3.3
         Environment: Maven v3.0.5
            Reporter: Rautureau
         Attachments: 3.2.png, 3.3.png, maven-site-example.zip

Hi,

you will find in attachment a maven project that shows the issue.
When you run the command {{mvn site}} you get:
!3.2.png

When you run the command {{mvn site -Dmaven.site.plugin.version=3.3}} you get !3.3.png!

By comparing html produce by maven-site-plugin:
* With 3.2, all snippets are in tag "<pre class="prettyprint linenums">some code</pre>
* With 3.3, all snippets are in tag "<pre>some code</pre>"

This is why the fluido skin .js don't activate color syntax nor line numbering.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira