Render announcements, question replies, and messages as markdown#1402
Conversation
|
gah, i noticed a bug about question-answering (with the precompiled answer dropdown, the js hardcodes that the "other" option is at index 5, which it isn't anymore), and i also noticed that there's a bunch of JS that's duplicated (including duplicating the bug). Do you mind if i refactor it in this same PR? Because i need to refactor that JS a little anyways to add markdown preview. |
Sure! |
* Deduplicate code in questions view / participant view * Deduplicate set of quick answers As a result, the question-answering experience in the participant view is now a bit better.
79082ff to
89ac3d5
Compare
|
Also closes #1362 now. |
Closes #1352, closes #1362.
I actually realized that i had forgotten messages to users in my original implementation; this one handles those too.
I switched out the markdown parser to one that allows disabling html tags.