From: Brian Wolff
Date: Wed, 15 Nov 2017 03:42:38 +0000 (+0000)
Subject: Fix LanguageSrTest for language converter
X-Git-Tag: 1.31.0-rc.0~1503
X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=5e56f01f1bd025d25b4c2ea3235b6b61dba92040;p=lhc%2Fweb%2Fwiklou.git
Fix LanguageSrTest for language converter
Language converter seems to maintain state between parser
invocations. Use a more unique string for the test.
This is a follow-up to 98b6635895.
Bug: T180551
Change-Id: I0259b378549f7d9778c27c4bc3efd8d277893f8c
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index fb549f5ae1..245ca9fcbb 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -18519,6 +18519,20 @@ language=sr variant=sr-el
!! end
+!! test
+Language converter glossary rules inside attributes (T119158)
+!! options
+language=sr variant=sr-el
+!! wikitext
+-{H|foAjrjvi=>sr-el:" onload="alert(1)" data-foo="}-
+
+[[File:Foobar.jpg|alt=-{}-foAjrjvi-{}-]]
+!! html
+
+
+
+!! end
+
!! test
Self closed html pairs (T7487)
!! wikitext