fix: preserve newline character in alt text popup
This commit is contained in:
parent
1d1dab5b2a
commit
75c72d00da
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue