So, in python with import html
it would be easy to do:
def htmlize(obj):
content = html.escape(repr(obj))
return '<pre>{}</pre>'.format(content)
html.ecape
basically converts the characters &
, <
and >
in string s to HTML. Is there an equivalent for julia?