diff --git a/edit/source-editor.js b/edit/source-editor.js index 12ba61a6..7237d36c 100644 --- a/edit/source-editor.js +++ b/edit/source-editor.js @@ -10,7 +10,7 @@ function createSourceEditor(style) { let hadBeenSaved = false; // draw HTML - $('#sections').innerHTML = ''; + $('#sections').textContent = ''; $('#name').disabled = true; $('#mozilla-format-heading').parentNode.remove();