diff --git a/mkdocs_glightbox/plugin.py b/mkdocs_glightbox/plugin.py index 7284c6d..3daaed7 100644 --- a/mkdocs_glightbox/plugin.py +++ b/mkdocs_glightbox/plugin.py @@ -144,7 +144,7 @@ def repl_html(match): return html markdown = re.sub("!\\[[^\\]]*\\]\\([^)]*\\)", repl_md, markdown) - markdown = re.sub("", repl_html, markdown) + markdown = re.sub("]*>", repl_html, markdown) return markdown