Closed
Description
Description
In the following:
classDiagram
class ClassName {
-attribute : type
- attribute : type
+GetAttribute() type
+ GetAttribute() type
}
the space is preserved between -
and attribute
, but not between +
and GetAttribute
:
Steps to reproduce
Simply enter the above code in an editor, like https://mermaid.live/edit#pako:eNptzzsOwjAMBuCrWJ5ALRfIhkBiY2HN4jZuGymPKnGGqurdCVAmWCz_nyzZXrGPhlFh7yjnq6UxkdfhneDyqnfyDKsOJxJJtivCoECWmSvBr-nQ3FjOXz8cd2_gL2_YoufkyZp6RF0DoFEm9qxR1dbwQMWJxs8oFYmPJfSoJBVuMcUyTqgGcrmmMhsS3p_YdXsCu55P9A
Screenshots
No response
Code Sample
No response
Setup
- Mermaid version:10.9.1
Suggested Solutions
No response
Additional Context
No response