Fix quotes for field helptext
This commit is contained in:
parent
56c5c4e540
commit
aea7f01047
|
@ -718,7 +718,9 @@ class Form(object):
|
||||||
"""
|
"""
|
||||||
Render the help text for the given field.
|
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):
|
def set_vuejs_field_converter(self, field, converter):
|
||||||
self.vuejs_field_converters[field] = converter
|
self.vuejs_field_converters[field] = converter
|
||||||
|
|
Loading…
Reference in a new issue