Commit 2a0df86a authored by Chris McDonough's avatar Chris McDonough

New module that has an html_quote function that is imported into both DT_Var...

New module that has an html_quote function that is imported into both DT_Var and DT_Utils to support older code that depends on the function to be in either place.
parent d8d2705b
# split off into its own module for aliasing without circrefs
from cgi import escape
def html_quote(v, name='(Unknown name)', md={}):
return escape(str(v), 1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment