topicquests / sensecraft

GNU Affero General Public License v3.0
7 stars 1 forks source link

Sanitize html on front-end #205

Open maparent opened 1 year ago

maparent commented 1 year ago

We need to sanitize html. Eventually on the backend, for now on the frontend using sanitize-html or an equivalent library. I first thought to do it at vue level, but there is an inherent cost to do it on display. The best place is probably in the vuex store, as a postprocessing step after retrieval of relevant fields.