Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 7.1-milestone-1
-
Fix Version/s: 7.3-milestone-2, 7.1.3
-
Component/s: Annotations
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
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.