mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-25 23:09:29 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user