Hi Team
When I have given some text for i18n translations in sling:message it is printing twice when I give in <a tag.
/apps/i18n-XXX/XXX/en_us/alert_message
sling:message: <a href="https://www.google.com" target="_self"><b> Shop </b></a>, knowing
Result: Shop, knowing shop knowing
When I remove <a tag then it prints only once but my requirement is to use <a to display hyperlink.
Any inputs, please advise.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Eliminate the use of HTML in i18n values; this is odd. This should be your primary solution.
Additionally, could you please provide the complete definition for your node? Don't just include the 'sling:message,' but also share the HTML code demonstrating how you are utilizing it."
Eliminate the use of HTML in i18n values; this is odd. This should be your primary solution.
Additionally, could you please provide the complete definition for your node? Don't just include the 'sling:message,' but also share the HTML code demonstrating how you are utilizing it."