[go: up one dir, main page]

Skip to content

Use v-safe-html instead of v-html in latex.vue

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

v-safe-html uses dompurify under the hood. For unknown reasons dompurify is stripping out attributes from use tags inside of SVGs.

This issue is to address those attributes being stripped and use v-safe-html instead.

The following discussion from !49497 (merged) should be addressed:

  • @jboyson started a discussion: (+2 comments)

    @ohoral thanks for the thorough review! Back to you 🏓

    Note: I still have squared away the licensing part yet

Edited by 🤖 GitLab Bot 🤖