mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
Update inlinepatterns.py
This commit is contained in:
parent
e5d64d6853
commit
d216b6eb68
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ OEMBED_LINK_RE = r'\!\[([^\]]*)\]\(((?:https?:)?//[^\)]*)' \
|
|||
|
||||
class OEmbedLinkPattern(Pattern):
|
||||
|
||||
def __init__(self, pattern, markdown_instance=None, oembed_consumer=None):
|
||||
Pattern.__init__(self, pattern, markdown_instance)
|
||||
def __init__(self, pattern, md=None, oembed_consumer=None):
|
||||
Pattern.__init__(self, pattern, md=md)
|
||||
self.consumer = oembed_consumer
|
||||
|
||||
def handleMatch(self, match):
|
||||
|
|
|
|||
Loading…
Reference in a new issue