git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d6691
)
test runner: closes #3048. The text from the tests, is html-escaped.
author
Ariel Flesler
<aflesler@gmail.com>
Tue, 17 Jun 2008 20:11:47 +0000
(20:11 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Tue, 17 Jun 2008 20:11:47 +0000
(20:11 +0000)
test/data/testrunner.js
patch
|
blob
|
history
diff --git
a/test/data/testrunner.js
b/test/data/testrunner.js
index
821799b
..
9d86925
100644
(file)
--- a/
test/data/testrunner.js
+++ b/
test/data/testrunner.js
@@
-133,7
+133,7
@@
function test(name, callback, nowait) {
for ( var i = 0; i < _config.Test.length; i++ ) {
var li = document.createElement("li");
li.className = _config.Test[i][0] ? "pass" : "fail";
- li.innerHTML = _config.Test[i][1];
+ li.appendChild( document.createTextNode(_config.Test[i][1]) );
ol.appendChild( li );
_config.stats.all++;