Index: /FCKeditor/trunk/editor/_source/internals/fcktools.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fcktools.js	(revision 492)
+++ /FCKeditor/trunk/editor/_source/internals/fcktools.js	(revision 493)
@@ -94,4 +94,9 @@
 		return '' ;
 
+	text = text.replace( /&/g, '&amp;' ) ;
+	text = text.replace( /</g, '&lt;' ) ;
+	text = text.replace( />/g, '&gt;' ) ;
+
+	return text ;
 }
 
