unc-csxl / csxl.unc.edu

CS Experience Labs' web application.
https://csxl.unc.edu
MIT License
9 stars 7 forks source link

Add Markdown Processing to Event Description (#158) #407

Closed jadekeegan closed 3 weeks ago

jadekeegan commented 3 months ago

This PR adds markdown processing to the event descriptions using installed marked and dompurify modules. marked is used to parse the event description and convert it to HTML, while dompurify is used to sanitize the produced HTML.

Developer Concerns

ajaygandecha commented 3 weeks ago

@jadekeegan hey, since we have diverged significantly in production since the last commit in this PR, I am going to close this pull request. However, I will keep you on #407 and we can keep this branch on record for solving this problem in the future!

I created a new ticket #514 which includes more details!