From fd0c3cf57ec5b4f1767346cd5e05c0614de3f6fd Mon Sep 17 00:00:00 2001 From: ANH Date: Fri, 24 Jul 2020 09:18:05 +0300 Subject: [PATCH] add missing string r flag --- qt/aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index d4c65d553..545a65888 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -1095,7 +1095,7 @@ class EditorWebView(AnkiWebView): lines = txt.split("\n") for line in lines: - for token in re.split("(\S+)", line): + for token in re.split(r"(\S+)", line): # inlined data in base64? if token.startswith("data:image/"): processed.append(self.editor.inlinedImageToLink(token))