1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-10 14:56:06 +00:00

fixes of a newbie, me

This commit is contained in:
João Bolila
2014-01-12 17:09:24 +00:00
parent c5035fc0b0
commit 426f2978cf
4 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ Wraps up the fenced code blocks parser for highlight and use in TiddlyWiki5
lang = this.domNodes[0].getElementsByTagName('code')[0].className,
hljs = require("$:/plugins/tiddlywiki/highlight/highlight.js").hljs;
if ($tw.browser && lang !== 'no-highlight') {
if($tw.browser && lang !== 'no-highlight') {
hljs.tabReplace = ' ';
hljs.highlightBlock(this.domNodes[0]);
}