From 1d1dab5b2aa401d63d93b6540dc950b7c3984b81 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 6 Mar 2023 22:02:51 +0100 Subject: [PATCH] fix: preserve newline character in alt text --- packages/client/src/components/MkMediaList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/components/MkMediaList.vue b/packages/client/src/components/MkMediaList.vue index 70afb2cc9c..72f50129eb 100644 --- a/packages/client/src/components/MkMediaList.vue +++ b/packages/client/src/components/MkMediaList.vue @@ -332,6 +332,7 @@ const previewableCount = props.mediaList.filter((media) => overflow-x: clip; overflow-y: auto; overscroll-behavior: contain; + white-space: pre-line; } .pwsp__alt-text:empty {