We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59191cb + c4ea949 commit 1302185Copy full SHA for 1302185
plugins-client/ext.editors/editors.js
@@ -974,7 +974,7 @@ module.exports = ext.register("ext/editors/editors", {
974
//popup a file watch dialog to ask if the user wants to
975
//load the new file from disk, losing changes.
976
if (copy.getAttribute("changed") == 1 && copy.getAttribute("newfile") == 1) {
977
- copy.appendChild(copy.ownerDocument.createCDATASection(
+ copy.appendChild(copy.ownerDocument.createTextNode(
978
(pages[i].$doc.getValue() || "")
979
.replace(/\r/g, "\\r")
980
.replace(/\n/g, "\\n")
0 commit comments