From: Subramanya Sastry Date: Sat, 17 Nov 2012 00:57:31 +0000 (-0600) Subject: Additional tests to spec behavior of wikitext in extlink-brackets. X-Git-Tag: 1.31.0-rc.0~21607 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=bc9e8f8bbf450792da56ee9420948d1b3e6e2e6d;p=lhc%2Fweb%2Fwiklou.git Additional tests to spec behavior of wikitext in extlink-brackets. * Mostly to keep Parsoid in line. Change-Id: I1629b156f66cb3f1b511fbe26feb1bee1e1e0e59 --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 94cad8411e..b8de79d809 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -2460,6 +2460,33 @@ http://[2404:130:0:1000::187:2]/index.php

!! end +!! test +Non-extlinks in brackets +!! input +[foo] +[foo bar] +[foo ''bar''] +[fool's] errand +[fool's errand] +[{{echo|foo}}] +[{{echo|foo}} bar] +[{{echo|foo}} ''bar''] +[{{echo|foo}}l's] errand +[{{echo|foo}}l's errand] +!! result +

[foo] +[foo bar] +[foo bar] +[fool's] errand +[fool's errand] +[foo] +[foo bar] +[foo bar] +[fool's] errand +[fool's errand] +

+!! end + ### ### Quotes ###