dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
08371fe
)
Merge "Test improperly quoted attribute values in HTML tags and table cells"
author
Subramanya Sastry
<ssastry@wikimedia.org>
Fri, 25 Jan 2013 18:15:45 +0000
(18:15 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 25 Jan 2013 18:15:45 +0000
(18:15 +0000)
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
8a9791b
..
e6d6c2c
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-13568,6
+13568,29
@@
HTML tag with 'unnecessary' entity encoding in attributes
</p>
!! end
+!! test
+HTML tag with broken attribute value quoting
+!! input
+<span title="Hello world>Foo</span>
+!! result
+<p><span>Foo</span>
+</p>
+!! end
+
+!! test
+Table with broken attribute value quoting
+!! input
+{|
+| title="Hello world|Foo
+|}
+!! result
+<table>
+<tr>
+<td>Foo
+</td></tr></table>
+
+!! end
+
TODO:
more images
more tables