Skip to content

Commit

Permalink
[Revert] A little bit of the regex change was too broad. I don't know…
Browse files Browse the repository at this point in the history
… what it used to do but I'll put it back. It just needed one character changed after all.
  • Loading branch information
alex-calderwood committed Oct 20, 2021
1 parent efd2f85 commit b3ac4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tiddlywiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def addTwee (self, source):
def addHtml (self, source):
"""Adds HTML source code to this TiddlyWiki."""
divs_re = re.compile(
r'<div id="storeArea"(.*)</html>',
r'<div id="storeArea"(.*)</div>\s*</html>',
re.DOTALL
)
divs = divs_re.search(source)
Expand Down

0 comments on commit b3ac4ba

Please sign in to comment.