maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1182799 - /maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
Date Thu, 13 Oct 2011 12:23:15 GMT
Author: simonetripodi
Date: Thu Oct 13 12:23:14 2011
New Revision: 1182799

URL: http://svn.apache.org/viewvc?rev=1182799&view=rev
Log:
single html elements are created via document.createElement()
adjusted comment that creates an xhtml violation

Modified:
    maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm

Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?rev=1182799&r1=1182798&r2=1182799&view=diff
==============================================================================
--- maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ maven/sandbox/trunk/skin/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm Thu
Oct 13 12:23:14 2011
@@ -471,7 +471,7 @@
                     jQuery( this ).addClass( 'zebra-striped' );
                 } );
 
-                // add prettyprint class to all <div class="source"><pre></pre><div>
blocks
+                // add prettyprint class to all 'pre' element child of 'div' whit class="source"
                 var prettify = false;
 
                 jQuery( 'div.source > pre' ).each( function()
@@ -483,7 +483,7 @@
                 // if code blocks were found, bring in the prettifier ...
                 if ( prettify )
                 {
-                    var link = jQuery( '<link>' );
+                    var link = jQuery( document.createElement( 'link' ) );
                     link.attr(
                     {
                         type: 'text/css',



Mime
View raw message