</textarea> in content fix

Reverse the string replacement to ensure </textarea> is shown in content as intended
This commit is contained in:
Matt Pass
2012-02-03 07:59:05 +00:00
parent 0772190fdd
commit 0e28213c86

View File

@@ -77,6 +77,7 @@ var ICEcoder = {
cM = ICEcoder.getcMInstance();
content = cM.getValue();
content = content.replace(' & ',' &amp; ');
content = content.replace('<ICEcoder:/:textarea>','</textarea>');
// Then set the content in the editor & clear the history
cM.setValue(content);