You are not logged in Log in Join
You are here: Home » Members » hewei » Zope RPMs for RedHat » CMF Product RPMs » CMF Visual Editor » Copyright Sign Patch » View Document

Log in
Name

Password

 

Copyright Sign Patch

--- CMFVisualEditor/skins/visualeditor/visualeditor_init.js.dtml.orig 2003-02-21 17:47:14.000000000 +0800
+++ CMFVisualEditor/skins/visualeditor/visualeditor_init.js.dtml 2004-04-29 16:12:33.000000000 +0800
@@ -111,7 +111,7 @@
to proper HTML coding
*/
var re1 = /©/gi;
- var re2 = /�/gi;
+ var re2 = /[\xA9]/gi;
instr = instr.replace(re1, "©");
return (instr.replace(re2, "©"));
}