Skip to content

Commit

Permalink
fix: v-html no sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
sharevb committed Sep 11, 2024
1 parent 5499593 commit a4bcc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/smart-text-replacer/smart-text-replacer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
<!-- //NO SONAR --><div flex-1 break-anywhere text-wrap style="white-space: pre" v-html="highlightedText" />

<c-button @click="copy()">
<icon-mdi:content-copy />
Expand Down

0 comments on commit a4bcc8a

Please sign in to comment.