mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
Update extension.py
This commit is contained in:
parent
7fb4cb2aa1
commit
cdc3a41260
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class OEmbedExtension(Extension):
|
||||||
}
|
}
|
||||||
super(OEmbedExtension, self).__init__(**kwargs)
|
super(OEmbedExtension, self).__init__(**kwargs)
|
||||||
|
|
||||||
def extendMarkdown(self, md, md_globals):
|
def extendMarkdown(self, md):
|
||||||
self.oembed_consumer = self.prepare_oembed_consumer()
|
self.oembed_consumer = self.prepare_oembed_consumer()
|
||||||
link_pattern = OEmbedLinkPattern(OEMBED_LINK_RE, md,
|
link_pattern = OEmbedLinkPattern(OEMBED_LINK_RE, md,
|
||||||
self.oembed_consumer)
|
self.oembed_consumer)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue