diff options
author | silverwind <me@silverwind.io> | 2020-04-22 00:13:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 23:13:56 +0100 |
commit | 7e20f1cb5b3ef494676f3629e4980c8cdd64525b (patch) | |
tree | 7dc0f5b4975ff135ce074ddca9e959e13266df33 /modules/setting/setting.go | |
parent | 49f8b20570a4a6e7d49f00ee91453dc8ef84f4b1 (diff) | |
download | gitea-7e20f1cb5b3ef494676f3629e4980c8cdd64525b.tar.gz gitea-7e20f1cb5b3ef494676f3629e4980c8cdd64525b.zip |
enable ENABLE_HARD_LINE_BREAK by default (#11162)
enable ENABLE_HARD_LINE_BREAK by default
This matches GitHub's rendering.
Fix #11155
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 74f6da38d1..a18b47a7e9 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -241,7 +241,7 @@ var ( CustomURLSchemes []string `ini:"CUSTOM_URL_SCHEMES"` FileExtensions []string }{ - EnableHardLineBreak: false, + EnableHardLineBreak: true, FileExtensions: strings.Split(".md,.markdown,.mdown,.mkd", ","), } |