We're allowing HTML in some fields these days, so we need to prevent extra escaping on those. Creating some kind of HtmlField that subclasses TranslatedField might be a good way to go about this. If your __unicode__ method returns a jinja2.Markup object, jinja won't try to escape it. I think the HTML cleanup (bug 543019) can happen in HtmlField's save method.
http://github.com/jbalogh/zamboni/commit/10540584073a7e8b485c1d3db2402e9c205d569e Now we have PurifiedField and LinkifiedField.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.