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
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)