kiranshila / cybermonday

Markdown as Clojure Data
Eclipse Public License 1.0
106 stars 10 forks source link

Triple dash within the body content breaks cybermonday.core/parse-md #62

Closed jaketrent closed 1 year ago

jaketrent commented 2 years ago

kiranshila, thanks for the great library.

Triple dash is for front matter, and that works great in most documents. But in the case that the document itself has 3 dashes in it as a part of the content, parsing breaks entirely.

kiranshila commented 2 years ago

Great catch! My regex is trying to match the whole document instead of the first line. I'll get a patch together.

kiranshila commented 2 years ago

Actually, I'm having trouble reproducing this @jaketrent. Can you provide a MWE?

kiranshila commented 2 years ago

Also, I apologize for not seeing this sooner, strangely GitHub didn't notify me of this issue.

kiranshila commented 1 year ago

This should be fixed on the latest release