From 86fbcd679299db5bdaef13c75ada3f0d4f881d69 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Thu, 29 Jun 2017 12:06:56 +0200 Subject: [PATCH] Add parser tests for decoding of entities in IDs and fragments This change adds parser tests that test the current behavior of decoding HTML entities in headings and links for IDs and fragments of links as described in T103714. With I88e8e2077e the tests get changed to the new behavior. Change-Id: Ia79af95e53114c1154dd52769f2ad1ab673fdd9e --- tests/parser/parserTests.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index e8ccd9da84..29f42b328d 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -28364,3 +28364,14 @@ wgRawHtml=1 !! end + +!! test +Decoding of HTML entities in headings and links for IDs and link fragments (T103714) +!! wikitext +== A&B&C&D&E == +[[#A&B&C&D&E]] +!! html/php +

A&B&C&D&E[edit]

+

#A&B&C&D&E +

+!! end -- 2.20.1