From 0be5ff721c296891d5578ef4065bdba574d7c8eb Mon Sep 17 00:00:00 2001 From: qthequartermasterman Date: Sun, 28 Apr 2024 22:16:51 -0500 Subject: [PATCH] fix: :bug: fix issue where mermaid symbols are not parsed properly because of the plugin hooks --- render_map/mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render_map/mapping.py b/render_map/mapping.py index ad6b804..617bea4 100644 --- a/render_map/mapping.py +++ b/render_map/mapping.py @@ -121,7 +121,7 @@ def find_geo_links(markdown: str) -> tuple[list[GeoLink], str]: new_tag.string = geo_link.name new_tag["id"] = geo_link.uuid geo_tag.replace_with(new_tag) - return geo_links, str(soup) + return geo_links, str(soup).replace("-->", "-->") def create_map_template(config: mkdocs.plugins.MkDocsConfig) -> str: