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

this file kills frog #156

Open
mbutterick opened this issue Feb 23, 2016 · 7 comments
Open

this file kills frog #156

mbutterick opened this issue Feb 23, 2016 · 7 comments
Labels

Comments

@mbutterick
Copy link

https://github.com/mbutterick/racket-lang-org/blob/master/pollen/blog/_src/posts/2012-11-13-contracts-for-object-oriented-programming.md

raco frog -b just hangs.

@mbutterick
Copy link
Author

Tried to narrow down the source of the error, to no avail.

@mbutterick
Copy link
Author

FWIW, this is the only post in a broader conversion of Blogger posts to Markdown that had a problem.

It's possible that the Markdown conversion was incorrect, but the fact that it renders within Github suggests that the Markdown is OK.

@greghendershott
Copy link
Owner

Thanks for the report. This is likely to be the markdown parser. Although I can't try it hands-on until later, my first guess would be to look at the > characters in the quoted blocks -- is the parser getting confused about those? If so, you could try escaping them, \>, as a work-around for now.

@mbutterick
Copy link
Author

Close — it seems to be the left bracket that's fouling it up. Changing < to \< seems to fix it.

@bennn
Copy link

bennn commented Oct 11, 2017

This file also kills frog. I'm not sure why.
If I delete everything after line 332 then frog handles it in 1-3 minutes.

2017-10-11-test.md.txt

@greghendershott
Copy link
Owner

On line 233 the <download.racket-lang.org> text looks like an opening HTML tag.

If you change tht to (say) <https://download.racket-lang.org/> it will parse "instantly".

@greghendershott
Copy link
Owner

Markdown automatic links require a prefix scheme (protocol) like http:, https:, or mailto:.

Various markdown parsers handle <download.racket-lang.org> in various ways, but none treat it like a link.

Unfortunately an unmatched open HTML tag is an Achilles heal of the markdown parser used by frog.

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

3 participants