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

Issue with spaces, indents, etc. #1

Open
migueldlarosa opened this issue Mar 11, 2015 · 1 comment
Open

Issue with spaces, indents, etc. #1

migueldlarosa opened this issue Mar 11, 2015 · 1 comment

Comments

@migueldlarosa
Copy link

When you put spaces at the beginning of the structure on the div, that breaks the plugin and give an error.

Correct->

st=>start: User login
op=>operation: Login operation
cond=>condition: Login successful Yes or No?
e=>end: Into admin panel
st->op->cond
cond(yes)->e
cond(no)->op
# </div>```
# Incorrect->

```<div class="flowchart">
[spaces] st=>start: User login
[spaces] op=>operation: Login operation
[spaces]  cond=>condition: Login successful Yes or No?
[spaces]  e=>end: Into admin panel
[spaces]  st->op->cond
[spaces]  cond(yes)->e
[spaces]  cond(no)->op
# </div>```

I think this is a bug, or maybe not.
@pandao
Copy link
Owner

pandao commented Mar 13, 2015

I think this is not a bug, Flowchart hypothesis has been clear on both sides of the space, So when in use, can not have spaces. I think this design is not perfect, later jquery.flowchart.js will be improved.

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

2 participants