From: Brion Vibber Date: Sun, 28 May 2006 00:21:40 +0000 (+0000) Subject: Tweak bug 4598 with more sanity checks for cases X-Git-Tag: 1.31.0-rc.0~57003 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=ad803f5980dbb7df0915151264b463271ffb9aab;p=lhc%2Fweb%2Fwiklou.git Tweak bug 4598 with more sanity checks for cases --- 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