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

String concatenation isn't working #432

Closed
radmilabord opened this issue Dec 11, 2016 · 0 comments
Closed

String concatenation isn't working #432

radmilabord opened this issue Dec 11, 2016 · 0 comments

Comments

@radmilabord
Copy link

I'm creating graph string like this:
var graph='a-->b\n'+
'b-->c\n';

then I assign string to the div. it works.
However if I try:
var graph='a-->b\n';
graph+='b-->c\n';

it does not work. I get text displayed on the screen and no graph.
I'd like to put in some variables and conditions into chart string, but does not seem like it is possible.

Thanks,
Radmila

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/eslint-plugin-tailwindcss-1.17.0

chore(deps-dev): bump eslint-plugin-tailwindcss from 1.16.0 to 1.17.0
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