fix: pre-wrap result to proper display
This commit is contained in:
parent
a50bfd5130
commit
f0ef42aade
@ -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…
Reference in New Issue
Block a user