dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffdcf1
)
Add another test case to make sure subst fixes don't break template safety
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 20 Apr 2005 22:37:15 +0000
(22:37 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 20 Apr 2005 22:37:15 +0000
(22:37 +0000)
maintenance/parserTests.txt
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
c3a730b
..
0303c21
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-1465,6
+1465,22
@@
This template has <!-- a comment --> in it.
!! end
+!! article
+Template:dangerous
+!!text
+<span onmouseover="alert('crap')">Oh no</span>
+!!endarticle
+
+!!test
+(confirming safety of fix for subst bug 1936)
+!! input
+{{Template:dangerous}}
+!! result
+<p><span>Oh no</span>
+</p>
+!! end
+
+
###
### Message transform tests
###