Commit graph

3 commits

Author SHA1 Message Date
Matt Baer
d37ab544e8 Prevent out of bounds error on title with only whitespace 2021-06-25 17:08:59 -04:00
Matt Baer
f933b36170 Prevent out of bounds error when post has no title 2021-06-23 17:38:22 -04:00
Matt Baer
0ddca40529 Don't render title as list item
This fixes an issue where "12. April" would get rendered as "1. April" because
it looks like a Markdown list item to our renderer. Now, we parse titles as
titles, instead of standalone text, which causes the renderer to give us the
results we want. This also adds some basic tests for the applyBasicMarkdown()
func.

Closes #470
2021-06-22 16:06:04 -04:00