aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Utils.py b/src/Utils.py
index cd0e0cfa..e78c08fc 100644
--- a/src/Utils.py
+++ b/src/Utils.py
@@ -285,3 +285,6 @@ def hook(event, **kwargs):
{"event": event, "kwargs": kwargs})
return func
return _hook_func
+
+def strip_html(s):
+ return bs4.BeautifulSoup(s, "lxml").get_text()