3 ms·
I think this feels like the wrong place to solve the problem. I don't think you should be building HTML by concatenating strings like this. If you build a mode
by marginalia_nu 4y ago
I think this feels like the wrong place to solve the problem. I don't think you should be building HTML by concatenating strings like this.
If you build a model and render it separately using a template, whether a string gets entity-encoded or not is a concern for the template, and a sane template system entity-encodes by default unless explicitly told not to do so.