From 8c0bfd7d1df0c27d0d2c87aeb62367441d56461b Mon Sep 17 00:00:00 2001 From: abdo Date: Sat, 3 Oct 2020 00:17:38 +0300 Subject: [PATCH] Recognize ico files Local icons were being pasted as normal links previously instead of being enclosed in img tags. --- 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 6aeb41743..ec7fe117a 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -43,7 +43,7 @@ from aqt.utils import ( ) from aqt.webview import AnkiWebView -pics = ("jpg", "jpeg", "png", "tif", "tiff", "gif", "svg", "webp") +pics = ("jpg", "jpeg", "png", "tif", "tiff", "gif", "svg", "webp", "ico") audio = ( "wav", "mp3",