Open ghost opened 7 years ago
If I generate 9461 words with lipsum, parsing succeeds.
On the other hand, if I add one more paragraph, increasing the count to 9589 words, parsing fails.
Here is a gist you can use to verify it. Remove the last paragraph to get parsing to succeed. https://gist.github.com/bright-star/5f9c04b8f6816552adb0d6d517e74036
I'll be updating this issue as I tease it out, but I think something in the following chain of functions fails when the source markdown is too long:
md-to-html-string
parse
as-hiccup
Trial code
Log
I noticed it when I tried to double the length of an existing markdown file that was parsing successfully. If I take out a random section from the first half of the file, the parsing works again.
I can't show the exact document I found this in, but I'll try to duplicate it with lorem ipsum.