Skip to content

Commit 5700ee9

Browse files
committed
fix: disable for vue/no-v-html
1 parent 7ddf381 commit 5700ee9

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

packages/ui/components/common/Comment.vue

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,8 @@ onMounted(() => {
3333

3434
<template>
3535
<p class="comment">
36-
<span
37-
class="comment-main"
38-
:style="{
39-
'--main-color': textColor(color),
40-
}"
41-
v-html="titleText"
42-
/>
36+
<!-- eslint-disable-next-line vue/no-v-html -->
37+
<span class="comment-main" :style="{ '--main-color': textColor(color) }" v-html="titleText" />
4338
</p>
4439
</template>
4540

packages/ui/components/event/EventFrame.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ onMounted(function () {
2626
<template>
2727
<div class="event-frame-root">
2828
<div class="event-frame-content" :class="paddingClass">
29+
<!-- eslint-disable-next-line vue/no-v-html -->
2930
<h3 :id="id" :class="fontClass" v-html="titleText" />
3031
<slot name="content" />
3132
</div>

0 commit comments

Comments
 (0)