Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Scripting Sightly Engine 1.0.2
-
None
Description
When using the i18n option in the data-sly-text attribute the I18nRuntimeExtension is called twice.
To reproduce use following snippet in a sightly template:
<div data-sly-text="${'test.key' @ i18n}">test</div>
Generated java source shows:
Object var_textcontent4 = renderContext.call("xss", renderContext.call("i18nTranslation", renderContext.call("i18nTranslation", "test.key", obj().with("i18n", null)), obj().with("context", "text").with("i18n", null)), "text");
Attachments
Issue Links
- duplicates
-
SLING-5568 Sightly filters don't remove their specific options from the expression during processing
- Closed