mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
more robust img regexp
This commit is contained in:
parent
7ce661ac63
commit
525f44c9c5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ from anki.utils import checksum, genID
|
||||||
from anki.lang import _
|
from anki.lang import _
|
||||||
|
|
||||||
regexps = ("(\[sound:([^]]+)\])",
|
regexps = ("(\[sound:([^]]+)\])",
|
||||||
"(<img src=[\"']?([^\"'>]+)[\"']? ?/?>)")
|
"(<img[^>]+src=[\"']?([^\"'>]+)[\"']?[^>]?)")
|
||||||
|
|
||||||
# Tables
|
# Tables
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
Loading…
Reference in a new issue