[ https://issues.apache.org/jira/browse/MSITE-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825192#comment-17825192 ]
Konrad Windszus commented on MSITE-1002: ---------------------------------------- Instead of relying on additional class attributes in {{div}} I would rather always look for the {{code}} element in https://github.com/apache/maven-fluido-skin/blob/59b104d843e65eed6023d192b95f875e1e0e2b0a/src/main/resources/META-INF/maven/site.vm#L246 to add the necessary {{prettyprint}} class to the surrounding {{pre}}. > Maven Site 4 will break code highlight of site generated by Markdown > -------------------------------------------------------------------- > > Key: MSITE-1002 > URL: https://issues.apache.org/jira/browse/MSITE-1002 > Project: Maven Site Plugin > Issue Type: Bug > Components: doxia integration > Affects Versions: 4.0.0-M13 > Reporter: Xavi Lee > Assignee: Michael Osipov > Priority: Major > Attachments: maven-site-3.png, maven-site-4.png, test-v3.html, > test-v4.html > > > repro repo https://github.com/awxiaoxian2020/code-render-bug > master branch is Maven Site 3 with Fluido skin 1 > v4 branch is Maven Site 4 with Fluido skin 2. > Open their respective `target/site/test.html` files in local to see the > rendered result. -- This message was sent by Atlassian Jira (v8.20.10#820010)