fix: preserve newline character in alt text popup

This commit is contained in:
naskya 2023-09-27 17:18:47 +09:00
parent 1d1dab5b2a
commit 75c72d00da
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139

View file

@ -54,7 +54,11 @@
<Mfm :text="i18n.ts.password" />
</header>
<div v-if="text" :class="$style.text">
<span v-if="isPlaintext === true">{{ text }}</span>
<span
v-if="isPlaintext === true"
style="white-space: pre-line"
>{{ text }}</span
>
<Mfm v-else :text="text" />
</div>
<MkInput