From: Fomafix Date: Thu, 29 Jun 2017 10:06:56 +0000 (+0200) Subject: Add parser tests for decoding of entities in IDs and fragments X-Git-Tag: 1.31.0-rc.0~2602^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=86fbcd679299db5bdaef13c75ada3f0d4f881d69;p=lhc%2Fweb%2Fwiklou.git 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 --- 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