mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
8 lines
110 B
Python
8 lines
110 B
Python
import re
|
|
|
|
HTML_RE = re.compile(r'<[^>]+>')
|
|
|
|
|
|
def strip_html(string: str):
|
|
return HTML_RE.sub('', string)
|