From 79c7c2f0609cf0fceaafeb9e37a86d2607fccc13 Mon Sep 17 00:00:00 2001 From: Benedikt Willi Date: Tue, 8 Aug 2023 15:58:56 +0200 Subject: [PATCH] Use f-strings, add missing classes. --- mdx_oembed/inlinepatterns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdx_oembed/inlinepatterns.py b/mdx_oembed/inlinepatterns.py index db355bd..a43f44b 100644 --- a/mdx_oembed/inlinepatterns.py +++ b/mdx_oembed/inlinepatterns.py @@ -22,7 +22,7 @@ class OEmbedLinkPattern(Pattern): if html is None: return None else: - html = "
%s
" % html + html = f'
{ html }
' placeholder = self.md.htmlStash.store(html) return placeholder