def html_escape(string):
    return string.replace('&','&amp;').replace('<','&lt;').replace('>','&gt;')\
                 .replace('"','&quot;').replace("'",'&#039;')
Escape HTML special characters ``&<>`` and quotes ``'"``.
dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/html_escape