Fix quotes for field helptext

This commit is contained in:
Lance Edgar 2022-04-07 12:57:40 -05:00
parent 56c5c4e540
commit aea7f01047

View file

@ -718,7 +718,9 @@ class Form(object):
"""
Render the help text for the given field.
"""
return self.helptext[key]
text = self.helptext[key]
text = text.replace('"', '"')
return HTML.literal(text)
def set_vuejs_field_converter(self, field, converter):
self.vuejs_field_converters[field] = converter