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

program crashing when typing colon in alternative reference style #532

Closed
jcgu opened this issue Jan 10, 2016 · 1 comment
Closed

program crashing when typing colon in alternative reference style #532

jcgu opened this issue Jan 10, 2016 · 1 comment
Labels

Comments

@jcgu
Copy link

jcgu commented Jan 10, 2016

New user here and first issue reported on GitHub!

I'm using MacDown Version 0.5.3 (697).

I tried to follow the alternative reference style mentioned in the help.md:

[like this]: http://macdown.uranusjr.com  

When I tried it using a real-world example like the one below, the program crashed.

[A Quick Guide to Organizing Computational Biology Projects
]: http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000424

Initially, I had this following text I want to modify on:

[A Quick Guide to Organizing Computational Biology Projects
](http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000424)

I would delete the parentheses, which was fine. But it crashed at the moment when I typed ":". I tried it many times, and it crashed each time at that point.

@jcgu
Copy link
Author

jcgu commented Jan 10, 2016

I realized that I should have put the second square bracket on the same line as the first. When I move it to the same line as the first square bracket, the reference looks good. I think "]: url" on a line itself with an unclosed square bracket "[ some text" on the previous line is causing the crash. Like this:

[some text
]: http://xxxx

@uranusjr uranusjr added the bug label Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants