This commit is contained in:
Vinicius Moreira
2019-09-07 17:58:41 -03:00
parent 7123408010
commit 696b6169ac
13 changed files with 24 additions and 22 deletions

7
bauh/util/html.py Normal file
View File

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