updated higlightjs, fixes for code blocks, code block style changes

This commit is contained in:
jomo
2015-01-25 16:30:58 +01:00
parent eb7892ebe4
commit c71df8193d
5 changed files with 13 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ $(function(){
});
$('pre code').each(function() {
if ($(this).attr("class")) {
$(this).parent().attr("lang", $(this).attr("class").replace("hljs", "").trim());
$(this).parent().attr("lang", $(this).attr("class").replace("hljs", "").toLowerCase().trim());
} else {
$(this).parent().attr("lang", "(language unknown)");
}