From bc9e8f8bbf450792da56ee9420948d1b3e6e2e6d Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Fri, 16 Nov 2012 18:57:31 -0600 Subject: [PATCH] Additional tests to spec behavior of wikitext in extlink-brackets. * Mostly to keep Parsoid in line. Change-Id: I1629b156f66cb3f1b511fbe26feb1bee1e1e0e59 --- tests/parser/parserTests.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 ### -- 2.20.1