diff --git a/h5p-code-highlighter.js b/h5p-code-highlighter.js index 9d21c49..3516f71 100644 --- a/h5p-code-highlighter.js +++ b/h5p-code-highlighter.js @@ -36,7 +36,7 @@ H5P.CodeHighlighter = (function ($) { $container.addClass('h5p-code-highlighter'); this.editor = CodeMirror($container[0], { - value: CodeMirror.H5P.decode(this.options.code) || '', + value: CodeMirror.H5P.decode(this.options.code || '' ), keyMap: 'sublime', tabSize: this.options.tabSize, indentWithTabs: true,