From 4d2116dec9409ea11d5be19b3ed6e4ae9aaaa8ed Mon Sep 17 00:00:00 2001 From: DegrangeM <53106394+DegrangeM@users.noreply.github.com> Date: Thu, 15 Apr 2021 19:41:33 +0200 Subject: [PATCH] fix even if this should not be an issue as the parameters are extended --- h5p-code-highlighter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,