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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

added hasBreaks and splitBreaks to common.js #1521

Conversation

cmmoran
Copy link
Collaborator

@cmmoran cmmoran commented Jul 1, 2020

added hasBreaks and splitBreaks to common.js
updated parseMessage to set wrap: true when breaks are detected

馃搼 Summary

added hasBreaks and splitBreaks to common.js
updated parseMessage to set wrap: true when breaks are detected

馃搹 Design Decisions

common.lineBreakRegex does not seem to work in some scenarios. my obscure-js-foo is not strong with this one.

updated parseMessage to set wrap: true when breaks are detected
@cmmoran cmmoran merged commit 1cc2e74 into mermaid-js:feature/1483_long_messages Jul 1, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant