From: Fomafix Date: Fri, 30 Jun 2017 04:02:10 +0000 (+0200) Subject: Add parser tests for decoding of entities in indicator names X-Git-Tag: 1.31.0-rc.0~2598 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=9e02e9f66d08b7ad56ec621a5635c71143f9843b;p=lhc%2Fweb%2Fwiklou.git Add parser tests for decoding of entities in indicator names This change adds parser tests that test the current behavior of decoding HTML entities in indicator names when generating the indicator IDs as described in T104196. The parser tests currently does not compare the generated HTML with the ID. With I88e8e2077e the tests get changed to the new behavior. Change-Id: Id561c4a00ece09b4db381edfe0d5f98120cacf5e --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 29f42b328d..f8ba742c99 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -28375,3 +28375,14 @@ Decoding of HTML entities in headings and links for IDs and link fragments (T103

#A&B&C&D&E

!! end + +!! test +Decoding of HTML entities in indicator names for IDs (T104196) +!! options +showindicators +!! wikitext +Indicator +!! html/php +1&2&3&4&5=Indicator + +!! end