Skip to content

Commit

Permalink
Allow sanitized HTML for layout comp.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlon committed Dec 17, 2024
1 parent 3ec51cc commit 3bcc826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions course_grader_vue/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- eslint-disable vue/no-v-html -->
<template>
<!-- layout.vue: this is where you override the layout -->
<STopbar
Expand Down Expand Up @@ -109,9 +110,8 @@
v-for="(message, index) in window.gradepage.messages"
:key="index"
class="mt-2"
>
{{ message }}
</li>
v-html="message"
></li>
</ul>
</div>
<SColorMode></SColorMode>
Expand Down

0 comments on commit 3bcc826

Please sign in to comment.