Remember, the `class` symbol is reserved in some environments.

Fixes issue introduced in 9be69ef258.
This commit is contained in:
Chad Weider 2012-09-16 18:07:55 -07:00
parent 6f37de2fae
commit a0177e5d3c
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ linestylefilter.getLineStyleFilter = function(lineLength, aline, textAndClassFun
var disableAuthColorForThisLine = hooks.callAll("disableAuthorColorsForThisLine", {
linestylefilter: linestylefilter,
text: txt,
class: cls
"class": cls
}, " ", " ", "");
var disableAuthors = (disableAuthColorForThisLine==null||disableAuthColorForThisLine.length==0)?false:disableAuthColorForThisLine[0];
while (txt.length > 0)