diff --git a/src/summernote-ext-highlight.js b/src/summernote-ext-highlight.js index 31e10f2..e9ae407 100644 --- a/src/summernote-ext-highlight.js +++ b/src/summernote-ext-highlight.js @@ -85,11 +85,11 @@ this.createCodeNode = function (code, select) { var $code = $(''); - $code.html($code); + $code.html(code); $code.addClass('language-' + select); var $pre = $('
');
-                $pre.html(code)
+                $pre.html($code)
                 $pre.addClass('prettyprint').addClass('linenums');
 
                 return $pre[0];