Closed c-lliope closed 7 years ago
Currently, we store markdown in the database and parse it into HTML in
app/views/blocks/show.html.erb
, using this helper.
We should render it on the client side for a few reasons:
escapeHtml
option, to prevent XSS attacks.
See https://github.com/rexxars/react-markdown