##// END OF EJS Templates
emails: bring back no-escape in titles as those...
emails: bring back no-escape in titles as those create html and email clients escape resulting in escaped html tags in email titles

File last commit:

r1:854a839a default
r547:be8e7f94 default
Show More
util.py
10 lines | 211 B | text/x-python | PythonLexer
"""
Safe quoting method
"""
def safe_quote(obj):
# this is the SQLA 0.9 approach
if hasattr(obj, 'name') and hasattr(obj.name, 'quote'):
return obj.name.quote
else:
return obj.quote