jmacdotorg / plerd

Ultralight Dropbox-friendly Markdown-based blogging.
MIT License
112 stars 21 forks source link

Markdown in auto-generated socialmeta text needs to get stripped #17

Closed jmacdotorg closed 7 years ago

jmacdotorg commented 7 years ago

If you make a post whose initial text contains Markdown, and you don't specify any description metadata, then the text that ends up pull-quoted on social media often contains that Markdown and looks yucky.

In the case of no description specified, we should supply the first paragraph with the Markdown stripped out. (So, translated to HTML, and then run through an HTML-stripper, I suppose.)