Skip to content
Snippets Groups Projects
Commit 00a9c041 authored by Leah Tacke genannt Unterberg's avatar Leah Tacke genannt Unterberg
Browse files

making sanitize_mermaid more lenient

parent 5e9369d9
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class Drawable(ABC):
def sanitize_mermaid(text: str, *, is_er: bool = False):
RE = re.compile("[^0-9a-zA-Z_-]+")
RE = re.compile("[^0-9a-zA-Z._-]+")
"""Mermaid does not allow special characters in column names"""
if not text:
return text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment