mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-22 07:46:15 -04:00
fix: pre-wrap result to proper display
This commit is contained in:
parent
a50bfd5130
commit
f0ef42aade
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ const { copy } = useCopy({ source: highlightedText });
|
||||||
</n-form-item>
|
</n-form-item>
|
||||||
</div>
|
</div>
|
||||||
<c-card v-if="highlightedText" mt-60px max-w-600px flex items-center gap-5px font-mono>
|
<c-card v-if="highlightedText" mt-60px max-w-600px flex items-center gap-5px font-mono>
|
||||||
<!-- //NOSONAR --><div flex-1 break-anywhere text-wrap style="white-space: pre" v-html="highlightedText" />
|
<!-- //NOSONAR --><div flex-1 break-anywhere text-wrap style="white-space: pre-wrap" v-html="highlightedText" />
|
||||||
|
|
||||||
<c-button @click="copy()">
|
<c-button @click="copy()">
|
||||||
<icon-mdi:content-copy />
|
<icon-mdi:content-copy />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue