Monotone-Parent: 4c9c451ed285e35bcbdb393184764a8aeee61e28

Monotone-Revision: 56e0f38bea25a5921a2f3e1d83bfb6ccde59aa4a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-05T15:33:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-09-05 15:33:38 +00:00
parent 10968a8f9a
commit 20cb2353ad
2 changed files with 15 additions and 7 deletions

View File

@@ -343,3 +343,11 @@ String.prototype._base64_utf8_decode = function() {
return string;
};
String.prototype.cssSafeString = function() {
var newString = this.replace("#", "_", "g");
newString = newString.replace(".", "_", "g");
newString = newString.replace("@", "_", "g");
return newString;
}