I'm using gettext to translate my website. One key has a translations with a html tag:
msgid "BANNER_TAG_START"
msgstr "<!-- // MY BANNER TAG -->"
if I use this code in php now:
var_dump(htmlspecialchars(gettext('BANNER_TAG_START')));
it normally should returns:
<!-- // MY BANNER TAG -->
most times it works like this, but sometimes I get:
MY BANNER TAG
Why do I sometimes get this wrong code?