mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
need greedy match on images
This commit is contained in:
parent
61f69fd346
commit
4aa634bc44
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class MediaManager(object):
|
|||
# other code depends on this order, so don't reorder
|
||||
regexps = ("(?i)(\[sound:(?P<fname>[^]]+)\])",
|
||||
"(?i)(<img[^>]+src=(?P<str>[\"']?)"+
|
||||
"(?P<fname>[^>]+?)(?P=str)[^>]*>)")
|
||||
"(?P<fname>[^>]+)(?P=str)[^>]*>)")
|
||||
|
||||
def __init__(self, col, server):
|
||||
self.col = col
|
||||
|
|
Loading…
Reference in a new issue