diff --git a/packages/mermaid/src/diagrams/class/parser/classDiagram.jison b/packages/mermaid/src/diagrams/class/parser/classDiagram.jison index e2ec6a4b9..5fcea2da3 100644 --- a/packages/mermaid/src/diagrams/class/parser/classDiagram.jison +++ b/packages/mermaid/src/diagrams/class/parser/classDiagram.jison @@ -247,7 +247,7 @@ namespaceName className : alphaNumToken { $$=$1; } - | alphaNumToken DOT className { $$=$1+'.'+$3; } // Allow class names with dots + | alphaNumToken DOT className { $$=$1+'.'+$3; } | classLiteralName { $$=$1; } | alphaNumToken className { $$=$1+$2; } | alphaNumToken GENERICTYPE { $$=$1+'~'+$2+'~'; }