Преглед на файлове

Prevent future issues with icon.html end-of-file newlines

Thibaud Colas преди 1 година
родител
ревизия
bf9d062484
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      .editorconfig

+ 4 - 0
.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