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:
0d81130
)
Added test to allow "|" char between url and text in extlinks.
author
Subramanya Sastry
<ssastry@wikimedia.org>
Mon, 1 Oct 2012 15:37:17 +0000
(10:37 -0500)
committer
Subramanya Sastry
<ssastry@wikimedia.org>
Mon, 1 Oct 2012 15:37:17 +0000
(10:37 -0500)
Change-Id: Ic86f6fff600650207afc52a87d4f92b1c9347130
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
eb038db
..
bd65aa3
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-1505,6
+1505,15
@@
second]
</p>
!!end
+!! test
+External links: Pipe char between url and text
+!! input
+[http://example.com | link]
+!! result
+<p><a rel="nofollow" class="external text" href="http://example.com">| link</a>
+</p>
+!!end
+
!! test
External links: protocol-relative URL in brackets
!! input