From 71d2050014676ea16e873991acb0f1e9d0444f69 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 20 Mar 2018 22:14:53 +0000 Subject: [PATCH] General: Instruct file editors not to trim trailing whitespace in markdown files. Two trailing spaces in a markdown file indicates a line break. Props netweb Fixes #43104 git-svn-id: https://develop.svn.wordpress.org/trunk@42862 602fd350-edb4-49c9-b593-d223f7449a82 --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 3062b0e8bb..c6f3cf4958 100644 --- a/.editorconfig +++ b/.editorconfig @@ -17,5 +17,8 @@ indent_style = tab indent_style = space indent_size = 2 +[*.md] +trim_trailing_whitespace = false + [{*.txt,wp-config-sample.php}] end_of_line = crlf