You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2024/08/14 15:23:18 UTC

(maven-fluido-skin) 01/01: [MSKINS-249] Fix for MSKINS-245 does not cover all cases

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MSKINS-249
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git

commit 2f21fdb9b9e0d4d16b5b58e0d6a3a0b4a43a38d5
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Wed Aug 14 17:22:08 2024 +0200

    [MSKINS-249] Fix for MSKINS-245 does not cover all cases
    
    This closes #62
---
 src/main/resources/META-INF/maven/site.vm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index 8991c46..ea785a4 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -239,7 +239,7 @@
 #*        *##set( $sourceStyle = "prettyprint" )
 #*      *##end
 ##
-#*      *##if ( $bodyContent )$bodyContent.replace( '<pre><code>', '<pre class="' + $sourceStyle + '"><code>' ).replace( 'class="bodyTable"', 'class="table table-striped"' ).replace( 'class="bodyTable bodyTableBorder"', 'class="table table-bordered table-striped"' )#end
+#*      *##if ( $bodyContent )$bodyContent.replaceAll( '<pre>(<code[ >])', '<pre class="' + $sourceStyle + '">' + $esc.d + '1' ).replace( 'class="bodyTable"', 'class="table table-striped"' ).replace( 'class="bodyTable bodyTableBorder"', 'class="table table-bordered table-striped"' )#end
         </main>
 #*    *##if( $sideBarEnabled )
       </div>