From: umherirrender Date: Sat, 25 Jun 2016 19:39:50 +0000 (+0200) Subject: Add parser test for "Piped link with empty link text" X-Git-Tag: 1.31.0-rc.0~4861^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%22id_auteur=%24connect_id_auteur%22%29%20.%20%22?a=commitdiff_plain;h=afd13a3c9ac3cff987afa2b0514cb5e02cfa7649;p=lhc%2Fweb%2Fwiklou.git Add parser test for "Piped link with empty link text" Change-Id: Iea2bcf3d3ff618973d2300fef702fa0667db3c93 --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 9fe30291c9..5b17eacab0 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -7440,6 +7440,23 @@ Piped link with no link text

[[Thomas Bek (bishop of St David's)|]]

!! end +!! test +Piped link with empty link text +!! wikitext +[[Main Page|]] - empty nowiki +[[Main Page| ]] - empty space +[[Main Page| ]] - empty non breaking space +!! html/php +

- empty nowiki + - empty space +  - empty non breaking space +

+!! html/parsoid +

- empty nowiki + - empty space +  - empty non breaking space

+!! end + !! test Broken link !! wikitext