AuburnACM / auacm

The Auburn ACM Website
Apache License 2.0
15 stars 3 forks source link

'Continue reading' button breaks the markdown formatting #108

Closed DaveShuckerow closed 7 years ago

DaveShuckerow commented 7 years ago

It looks to me like the truncation needs to support finishing all the open markdown elements; both by adding trailing * for italics and bold formatting and by not counting non-rendered metadata like links towards the length limit. Example:

image

Mac-Genius commented 7 years ago

This happens because the markdown is trimmed before it is converted to HTML. I'm currently working on a solution that uses a dfs to trim the markdown after it is converted to HTML.

Mac-Genius commented 7 years ago

Fixed by #109