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

Doesn't handle inline links #52

Open
mrjackphil opened this issue Oct 29, 2019 · 1 comment
Open

Doesn't handle inline links #52

mrjackphil opened this issue Oct 29, 2019 · 1 comment

Comments

@mrjackphil
Copy link

It seems that bondage doesn't handle inline links.

This text

This is an inline [[Go to the woods|Test]] and [[Go back to the city|Test2]]

provides four TextResult values.

Object { text: "This is and inline ", data: {…} }
Object { text: "In the woods", data: {…} }
Object { text: "and ", data: {…} }
Object { text: "In the city", data: {…} }

It's interesting how it can be handled in a better way...

@blurymind
Copy link
Collaborator

blurymind commented Jun 22, 2020

you have to put them one after the other

This is an inline [[Go to the woods|Test]] [[Go back to the city|Test2]]

otherwise the first one will be treated as a jump off point to the Test node and not displayed to the user as an option

Remove the "And" so it works as expected

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