From bf9d06248436fd8f581582d55c782e025bcc2564 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Tue, 9 Jan 2024 10:55:44 +0000 Subject: [PATCH] Prevent future issues with icon.html end-of-file newlines --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 8d29457a73..bb47f87f21 100644 --- a/.editorconfig +++ b/.editorconfig @@ -25,3 +25,7 @@ indent_size = 2 [*.md] trim_trailing_whitespace = false + +# Make sure this file _doesn’t_ end with a final newline. It breaks rendering. +[wagtail/admin/templates/wagtailadmin/shared/icon.html] +insert_final_newline = false