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.

  • Close this issue

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 Sep 22, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading