See ChangeLog

Monotone-Parent: 3567e5aef4045091a835f8185e4f1ff94e748c78
Monotone-Revision: e43c9b00bdea42b8d8040a8c2bb1123e3a5230ec

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-08-11T18:29:05
This commit is contained in:
Ludovic Marcotte
2010-08-11 18:29:05 +00:00
parent 5c291627a4
commit 798076e6fa
5 changed files with 12 additions and 9 deletions
@@ -60,8 +60,8 @@ String.prototype.asDate = function () {
};
String.prototype.asCSSIdentifier = function() {
var characters = [ '_' , '\\.', '#' , '@' , '\\*', ':' , ',' , ' ' , "'" ];
var escapeds = [ '_U_', '_D_', '_H_', '_A_', '_S_', '_C_', '_CO_', '_SP_', '_SQ_' ];
var characters = [ '_' , '\\.', '#' , '@' , '\\*', ':' , ',' , ' ' , "'", '&' ];
var escapeds = [ '_U_', '_D_', '_H_', '_A_', '_S_', '_C_', '_CO_', '_SP_', '_SQ_', '_AM_' ];
var newString = this;
for (var i = 0; i < characters.length; i++) {