Permalink
Browse files

Strip all Jupyter style tags (including those that specify scope)

  • Loading branch information...
stefanv committed Oct 23, 2018
1 parent 309ea67 commit 3b1569a021eec970f05e6ee46742e2cba18d258d
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/strip_jupyter_style.py
@@ -15,7 +15,7 @@
with open(fn, encoding='utf-8') as f:
html = f.read()

html_no_style = re.sub('<style>(.*?)</style>',
html_no_style = re.sub('<style(.*?)>(.*?)</style>',
'', html, flags=re.DOTALL)

print(html_no_style)

0 comments on commit 3b1569a

Please sign in to comment.