0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 01:54:30 +01:00
gitea/routers
zeripath 814ca9ffea
Allow different HardBreaks settings for documents and comments (#11515)
GH has different HardBreaks behaviour for markdown comments and documents.

Comments have hard breaks and documents have soft breaks - therefore Gitea's rendering will always be different from GH's if we only provide one setting.

Here we split the setting in to two - one for documents and one for comments and other things.

Signed-off-by: Andrew Thornton art27@cantab.net

Changes to index.js as per @silverwind 
Co-authored-by: silverwind <me@silverwind.io>

Changes to docs as per @guillep2k 
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-05-24 09:14:26 +01:00
..
admin Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
api/v1 Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org
private
repo Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
routes Move serviceworker to workbox and fix SSE interference (#11538) 2020-05-21 21:45:34 -04:00
user Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
utils
home.go Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) 2020-05-18 00:27:54 +01:00
init.go Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
install.go Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
metrics.go
swagger_json.go