diff options
author | Urban Müller | 2009-11-05 16:20:21 +0000 |
---|---|---|
committer | Urban Müller | 2009-11-05 16:20:21 +0000 |
commit | 977b30850c02c90227f48f5bf89c4552adccbe92 (patch) | |
tree | c88b1989f4179eb9199b6f1f403f31fd0a320555 /itjs/it.js | |
parent | 05fe321131b0da3e949de25ac8f1a2f79f1068cd (diff) | |
download | itools-977b30850c02c90227f48f5bf89c4552adccbe92.tar.gz itools-977b30850c02c90227f48f5bf89c4552adccbe92.tar.bz2 itools-977b30850c02c90227f48f5bf89c4552adccbe92.zip |
new IE6 workaround attempt
Diffstat (limited to 'itjs/it.js')
-rw-r--r-- | itjs/it.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ function ED() var variable = arguments[i]; if (typeof variable == "string") - variable = variable.replace(/&/g, '&').replace(/[<]/g, '<'); + variable = variable.replace(/&/g, '&').replace(new RegExp("<", "g"), '<'); text += (typeof variable) + " " + variable; @@ -58,7 +58,7 @@ function ED() */ function Q(value) { - return typeof value == "undefined" ? "" : value.toString().replace(/&/g, '&').replace(/\"/g, '"').replace(/[<]/g, '<').replace(/>/g, '>'); + return typeof value == "undefined" ? "" : value.toString().replace(/&/g, '&').replace(/\"/g, '"').replace(new RegExp("<", "g"), '<').replace(/>/g, '>'); } /** |