Added test to allow "|" char between url and text in extlinks.
authorSubramanya Sastry <ssastry@wikimedia.org>
Mon, 1 Oct 2012 15:37:17 +0000 (10:37 -0500)
committerSubramanya Sastry <ssastry@wikimedia.org>
Mon, 1 Oct 2012 15:37:17 +0000 (10:37 -0500)
Change-Id: Ic86f6fff600650207afc52a87d4f92b1c9347130

tests/parser/parserTests.txt

index eb038db..bd65aa3 100644 (file)
@@ -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