diff --git a/anki/utils.py b/anki/utils.py index 12703deca..39afc1c7c 100644 --- a/anki/utils.py +++ b/anki/utils.py @@ -127,7 +127,7 @@ def fmtFloat(float_value, point=1): ############################################################################## reStyle = re.compile("(?si).*?") reScript = re.compile("(?si).*?") -reTag = re.compile("<.*?>") +reTag = re.compile("(?s)<.*?>") reEnts = re.compile("&#?\w+;") reMedia = re.compile("(?i)]+src=[\"']?([^\"'>]+)[\"']?[^>]*>")