Merge pull request #1005 from cweider/fix-ie

Remember, the `class` symbol is reserved in some environments.
This commit is contained in:
John McLear 2012-09-17 04:53:42 -07:00
commit 9cfcafb852

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)