diff --git a/mdx_oembed/inlinepatterns.py b/mdx_oembed/inlinepatterns.py index ff40d15..db355bd 100644 --- a/mdx_oembed/inlinepatterns.py +++ b/mdx_oembed/inlinepatterns.py @@ -8,7 +8,7 @@ LOG = logging.getLogger(__name__) OEMBED_LINK_RE = r'\!\[([^\]]*)\]\(((?:https?:)?//[^\)]*)' \ - r'(?%s" % html - placeholder = self.markdown.htmlStash.store(html) + placeholder = self.md.htmlStash.store(html) return placeholder def get_oembed_html_for_match(self, match): url = match.group(3).strip() - LOG.warn(url) try: response = self.consumer.embed(url) except oembed.OEmbedNoEndpoint: