Files
bearhub/bauh/util/html.py
Vinicius Moreira 696b6169ac commons
2019-09-07 17:58:41 -03:00

8 lines
110 B
Python

import re
HTML_RE = re.compile(r'<[^>]+>')
def strip_html(string: str):
return HTML_RE.sub('', string)