upload: Show text/plain uploads inline.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-12-09 18:26:18 -08:00
committed by Tim Abbott
parent f4cbdd8c9c
commit 84d5ef1285
2 changed files with 2 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ INLINE_MIME_TYPES = [
"image/jpeg",
"image/png",
"image/webp",
"text/plain",
"video/mp4",
"video/webm",
# To avoid cross-site scripting attacks, DO NOT add types such