소스 검색

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