mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
replacement order must be reversed
This commit is contained in:
parent
faddc59232
commit
c45525179b
1 changed files with 1 additions and 1 deletions
|
@ -1098,8 +1098,8 @@ class EditorWebView(AnkiWebView):
|
|||
if ext not in pics and ext not in audio:
|
||||
return
|
||||
if url.lower().startswith("file://"):
|
||||
url = url.replace("#", "%23")
|
||||
url = url.replace("%", "%25")
|
||||
url = url.replace("#", "%23")
|
||||
# fetch it into a temporary folder
|
||||
self.editor.mw.progress.start(
|
||||
immediate=True, parent=self.editor.parentWindow)
|
||||
|
|
Loading…
Reference in a new issue