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:
f9462fc
)
Add a test for indent pres with content wrapped in inline element
author
Gabriel Wicke
<gwicke@wikimedia.org>
Thu, 15 Nov 2012 01:04:30 +0000
(17:04 -0800)
committer
Gabriel Wicke
<gwicke@wikimedia.org>
Thu, 15 Nov 2012 01:06:36 +0000
(17:06 -0800)
A line of content fully wrapped in an inline element was an issue in Parsoid
round-tripping, so make sure this is detected in the future.
Parsoid fix: https://gerrit.wikimedia.org/r/#/c/33496/
Change-Id: I2497c90174fac69e9c4dc1cc898844e94e604b1b
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
a98e584
..
d18da66
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-787,6
+787,17
@@
And a <a href="/wiki/Main_Page" title="Main Page">link</a>
</pre>
!! end
+!! test
+Ident preformatting with inline content
+!! input
+ a
+ ''b''
+!! result
+<pre>a
+<i>b</i>
+</pre>
+!! end
+
!! test
<pre> with <nowiki> inside (compatibility with 1.6 and earlier)
!! input