From ad803f5980dbb7df0915151264b463271ffb9aab Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 28 May 2006 00:21:40 +0000 Subject: [PATCH] Tweak bug 4598 with more sanity checks for cases --- maintenance/parserTests.txt | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 4d2e81b431..5732c102a5 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -829,6 +829,25 @@ Bug 4781, 5267: %28, %29 in bracketed URL

!! end +!! test +External link containing double-single-quotes in text '' (bug 4598 sanity check) +!! input +Some [http://example.com/ pretty ''italics'' and stuff]! +!! result +

Some pretty italics and stuff! +

+!! end + +!! test +External link containing double-single-quotes in text embedded in italics (bug 4598 sanity check) +!! input +''Some [http://example.com/ pretty ''italics'' and stuff]!'' +!! result +

Some pretty italics and stuff! +

+!! end + + ### ### Quotes @@ -1240,9 +1259,18 @@ Link containing double-single-quotes '' (bug 4598) !! test Link containing double-single-quotes '' in text (bug 4598 sanity check) !! input -[[Link|Lista d''e paise d''o munno]] +Some [[Link|pretty ''italics'' and stuff]]! +!! result +

Some pretty italics and stuff! +

+!! end + +!! test +Link containing double-single-quotes '' in text embedded in italics (bug 4598 sanity check) +!! input +''Some [[Link|pretty ''italics'' and stuff]]! !! result -

Lista de paise do munno +

Some pretty italics and stuff!

!! end -- 2.20.1