diff --git a/res/syntaxhighlighter-ng.js b/res/syntaxhighlighter-ng.js index 0259a91..5328c62 100644 --- a/res/syntaxhighlighter-ng.js +++ b/res/syntaxhighlighter-ng.js @@ -28,7 +28,7 @@ function wrap_pre_tags(used_languages, used_plugins) { // convert used_plugins array to a space seperated string var used_plugins = used_plugins.join(' '); - alert(used_plugins); + // iterate through all used_languages for (let iUl = 0;iUl < used_languages.length; iUl++) { @@ -48,9 +48,9 @@ function wrap_pre_tags(used_languages, used_plugins) { { // put the content of
 tag into org_html
       org_html = preElements[iEl].innerHTML;
-      // put  tag with 'language-' class and class for 'line-numbers'
+      // put  tag with 'language-' class and plugin-classes
       // prism.js plugin around the 
 content
-      new_html = "" + org_html + "";
+      new_html = "" + org_html + "";
       // write back our new html and enjoy syntax highlightning :)
       preElements[iEl].innerHTML = new_html;
     }