Details
-
Bug
-
Resolution: Fixed
-
Minor
-
7.1-milestone-1
-
Unknown
-
N/A
-
N/A
-
Description
See screenshot. This is a bug introduced by https://github.com/xwiki/xwiki-platform/commit/2780a0102e675c36e12d6a08980d7d4b0726d5b4#diff-7bc2a1d22d6526b22159f615775763f3R62
The reason is that the translation is not escaped and thus the following:
<span class='buttonwrapper'><input type="submit" class='button' value='$services.localization.render("annotations.action.${mode}.submit.text")'/></span>
Generates:
<span class='buttonwrapper'><input type="submit" class='button' value='Ajouter l'annotation'/></span>
Which means only value='Ajouter l' is taken into account in HTML.