fix: v-html no sonar

This commit is contained in:
ShareVB 2024-09-11 23:42:08 +02:00
parent 5499593c6e
commit f0af67ef03

View file

@ -187,7 +187,7 @@ const { copy } = useCopy({ source: highlightedText });
</n-form-item>
</div>
<c-card v-if="highlightedText" mt-60px max-w-600px flex items-center gap-5px font-mono>
<div flex-1 break-anywhere text-wrap style="white-space: pre" v-html="highlightedText" /><!-- NO SONAR -->
<!-- //NOSONAR --><div flex-1 break-anywhere text-wrap style="white-space: pre" v-html="highlightedText" />
<c-button @click="copy()">
<icon-mdi:content-copy />