StampyAI / stampy-ui

AI Safety Q&A web frontend
https://aisafety.info
MIT License
34 stars 9 forks source link

Broken markdown parser (double question footer) #323

Closed Aprillion closed 8 months ago

Aprillion commented 10 months ago

Server side rendering does not match client with a console error Warning: PropdangerouslySetInnerHTMLdid not match. with double-rendered question footer with tags and action buttons: image

Repro steps:

Looks like we have invalid HTML from markdown rendering with unclosed <div> and unstarted </p>:

Aprillion commented 10 months ago

Markdown in Coda looks fine https://coda.io/d/_dfau7sl2hmG#Answers_tuile/r900&view=modal => probably something to do with insertion of see-more...

mruwnik commented 8 months ago

@Aprillion is this fixed?

Aprillion commented 8 months ago

I hope so 🤞 I swear that GH decides to not auto-close an issue when merging PR just when I get used to it and stop checking 😭