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