Skip to content

Commit

Permalink
fix: 🐛 fix issue where mermaid symbols are not parsed properly becaus…
Browse files Browse the repository at this point in the history
…e of the plugin hooks
  • Loading branch information
qthequartermasterman committed Apr 29, 2024
1 parent d25e443 commit 0be5ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render_map/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0be5ff7

Please sign in to comment.