developit / snarkdown

:smirk_cat: A snarky 1kb Markdown parser written in JavaScript
http://jsfiddle.net/developit/828w6t1x/
MIT License
2.28k stars 110 forks source link

HR not working after PRE #103

Open JeremyVyska opened 3 years ago

JeremyVyska commented 3 years ago

If you try to put an '---' after a code block, it doesn't parse it correctly.

Easy sample tested with the Preact App:


Text into

---

But, not this

    Sample Code Block

---

test

Not sure what other combinations are an issue, but FYI.