michael-o commented on code in PR #58: URL: https://github.com/apache/maven-fluido-skin/pull/58#discussion_r1586012833
########## src/main/resources/META-INF/maven/site.vm: ########## @@ -239,7 +239,7 @@ #* *##set( $sourceStyle = "prettyprint" ) #* *##end ## -#* *#$bodyContent.replaceAll( '<div class="verbatim source">(\r?\n)?<pre>', '<div class="verbatim source"><pre class="' + $sourceStyle + '">' ).replaceAll( 'class="bodyTable"', 'class="table table-striped"' ).replaceAll( 'class="bodyTable bodyTableBorder"', 'class="table table-bordered table-striped"' ) +#* *#$bodyContent.replaceAll( '<pre><code>', '<pre class="' + $sourceStyle + '"><code>' ).replaceAll( 'class="bodyTable"', 'class="table table-striped"' ).replaceAll( 'class="bodyTable bodyTableBorder"', 'class="table table-bordered table-striped"' ) Review Comment: Since we don't need regex anymore, we can resort to just `replace()` here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
