fix: white space

This commit is contained in:
ChenZhaoYu 2023-02-27 13:01:42 +08:00
parent 89712aada7
commit 4769c31d09
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ const text = computed(() => {
</template>
<template v-else>
<div class="leading-relaxed break-all">
<pre v-if="!inversion" class="markdown-body" v-html="text" />
<div v-if="!inversion" class="markdown-body" v-html="text" />
<div v-else class="whitespace-pre-wrap" v-text="text" />
</div>
</template>