From afd13a3c9ac3cff987afa2b0514cb5e02cfa7649 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 25 Jun 2016 21:39:50 +0200 Subject: [PATCH] Add parser test for "Piped link with empty link text" Change-Id: Iea2bcf3d3ff618973d2300fef702fa0667db3c93 --- tests/parser/parserTests.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- 2.20.1