Skip to content
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

Attribute values (in object diagrams) with newline and closing brace results in incorrect source #37

Closed
hallvard opened this issue Aug 29, 2017 · 1 comment

Comments

@hallvard
Copy link
Owner

If an attribute value contains a newline and a close brace, e.g. "Hello world
}", the resulting diagram source code will be incorrect and does not parse. Problematic characters must be properly escaped or replaced/removed. It may also be helpful to shorten long strings with ... to avoid very large boxes in object diagrams.

@hallvard
Copy link
Owner Author

The fix replaces special characters by unicode arrows. Also does some truncation now, to avoid very long attribute values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant