Closed vernaillen closed 4 months ago
After searching why we had hydration issues when rendering blocks, it appears to be caused by the v-html directive.
This is a known issue in vue: https://github.com/vuejs/core/issues/9033
Next to that it would also be great to make sure the rendered html is sanitized, to solve both issues we could maybe replace v-html with v-sanitize: https://leopiccionia.github.io/vue-sanitize-directive/
After searching why we had hydration issues when rendering blocks, it appears to be caused by the v-html directive.
This is a known issue in vue: https://github.com/vuejs/core/issues/9033
Next to that it would also be great to make sure the rendered html is sanitized, to solve both issues we could maybe replace v-html with v-sanitize: https://leopiccionia.github.io/vue-sanitize-directive/