Developer forum

Forum » Feature requests » Translate tag - html encoded

Translate tag - html encoded

Nuno Aguiar
Reply
Hi,

Would be nice if we could set the value of a translate tag to be HTML encoded (special chars); disable output escaping of some sort.

example in javascript:
var str_someString = '<!--@Translate(myTranslateKey, "Children's names")-->';

I get an error. I understand I can change ' into ", but if a client has to fill in some string with ' and "... something's gotta give.

Nuno

Replies