-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
classDiagram Generics Map #4431
Comments
I also face the same issue. classDiagram
class A {
~String | int~ value
}
|
I hit into the same issue #4555. The only "true" workaround I know of is to avoid the tilde syntax entirely and use HTML-escaped angle brackets ( |
This should be resolved with PR #4534 |
Is your feature request related to a problem? Please describe.
On http://localhost:8000/concepts/core-arch/ I originally used this for generics in a Map:
which currently fails (also here on GitHub) with:
I gathered with a bit trial and error that this is due to the
,
comma inMap~String, String~
(which I wrote like that coming from a Java-likeMap<String, String>
syntax).I have worked around it by using a
|
instead of a,
for now, so this works, but only if there are no spaces around it:But perhaps you would like to consider permitting a comma as well? And spaces? (Perhaps even some other separate characters?)
The text was updated successfully, but these errors were encountered: