fix: preserve newline character in alt text popup
This commit is contained in:
parent
1d1dab5b2a
commit
75c72d00da
@ -54,7 +54,11 @@
|
|||||||
<Mfm :text="i18n.ts.password" />
|
<Mfm :text="i18n.ts.password" />
|
||||||
</header>
|
</header>
|
||||||
<div v-if="text" :class="$style.text">
|
<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" />
|
<Mfm v-else :text="text" />
|
||||||
</div>
|
</div>
|
||||||
<MkInput
|
<MkInput
|
||||||
|
Loading…
Reference in New Issue
Block a user