diff --git a/anki-plugin/src/twnote.py b/anki-plugin/src/twnote.py index 11d6fec..55249d5 100644 --- a/anki-plugin/src/twnote.py +++ b/anki-plugin/src/twnote.py @@ -640,7 +640,7 @@ def extract_media(media: Set[TwMedia], soup: BeautifulSoup, wiki: Wiki, src = elem.attrs.get('src', None) if src is not None: open_src = src - if not '://' in src: + if '://' not in src and not src.startswith('data:'): # Try reading as a relative path if this is a file or URL wiki, # as this is a common way to work with _canonical_uri. # The resulting path is not guaranteed to exist; we'll warn the diff --git a/anki-plugin/src/util.py b/anki-plugin/src/util.py index 1c7cc48..a5a469c 100644 --- a/anki-plugin/src/util.py +++ b/anki-plugin/src/util.py @@ -11,8 +11,8 @@ Twid = NewType('Twid', str) DEFAULT_FILTER = '[type[text/vnd.tiddlywiki]] [type[]] +[!is[system]]' -PLUGIN_VERSION = "1.3.0" -COMPATIBLE_TW_VERSIONS = ["", "1.2.2", "1.2.3", "1.3.0"] +PLUGIN_VERSION = "1.3.1" +COMPATIBLE_TW_VERSIONS = ["", "1.2.2", "1.2.3", "1.3.0", "1.3.1"] def pluralize(sg: str, n: int, pl: str = None) -> str: diff --git a/ankiweb-description.html b/ankiweb-description.html index 09eca11..fce8879 100644 --- a/ankiweb-description.html +++ b/ankiweb-description.html @@ -1,6 +1,6 @@ TiddlyRemember is a tool that integrates TiddlyWiki with Anki. You can interleave questions with your notes in TiddlyWiki, then sync them into Anki notes with one click. You can edit and move the questions around your TiddlyWiki, and they will stay connected to the Anki notes. Scheduling information in Anki is preserved when editing notes in TiddlyWiki. -This is TiddlyRemember version 1.3.0, released November 13, 2021. +This is TiddlyRemember version 1.3.1, released November 14, 2021. @@ -11,7 +11,8 @@ Changelog: -