This should fix web storage script tag issues
parent
9541377a08
commit
79a0dc8259
|
@ -252,7 +252,7 @@ var allSeeds = '';
|
||||||
|
|
||||||
editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds;
|
editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds;
|
||||||
|
|
||||||
editor.setValue(editorValue);
|
editor.setValue(editorValue.replace(/\<script\>/gi, 'fccss').replace(/\<\/script\>/gi, 'fcces');
|
||||||
editor.refresh();
|
editor.refresh();
|
||||||
|
|
||||||
var resetEditor = function resetEditor() {
|
var resetEditor = function resetEditor() {
|
||||||
|
@ -260,7 +260,7 @@ var resetEditor = function resetEditor() {
|
||||||
updatePreview();
|
updatePreview();
|
||||||
codeStorage.updateStorage();
|
codeStorage.updateStorage();
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
var challengeSeed = challengeSeed || null;
|
var challengeSeed = challengeSeed || null;
|
||||||
var allSeeds = '';
|
var allSeeds = '';
|
||||||
(function() {
|
(function() {
|
||||||
|
@ -274,4 +274,4 @@ var allSeeds = '';
|
||||||
}, 200);
|
}, 200);
|
||||||
})();
|
})();
|
||||||
})();
|
})();
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue