bench-forgejo/routers
zeripath 814ca9ffea
Allow different HardBreaks settings for documents and comments ()
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 () 2020-05-16 19:31:38 -04:00
api/v1 Allow different HardBreaks settings for documents and comments () 2020-05-24 09:14:26 +01:00
dev Display ui time with customize time location () 2019-08-15 22:46:21 +08:00
events Add EventSource support () 2020-05-07 22:49:00 +01:00
org Add Organization Wide Labels () 2020-04-01 01:14:46 -03:00
private Protect default branch against deletion () 2020-05-06 12:08:45 +01:00
repo Allow different HardBreaks settings for documents and comments () 2020-05-24 09:14:26 +01:00
routes Move serviceworker to workbox and fix SSE interference () 2020-05-21 21:45:34 -04:00
user Whenever the ctx.Session is updated, release it to save it before sending the redirect () 2020-05-17 15:43:29 +03:00
utils Handle push rejection message in Merge & Web Editor () 2020-02-22 15:08:48 +02:00
home.go Ensure public repositories in private organizations are visible and fix admin organizations list () 2020-05-18 00:27:54 +01:00
init.go Refactor Cron and merge dashboard tasks () 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 () 2020-05-17 15:43:29 +03:00
metrics.go Use gitea forked macaron () 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet () 2020-04-05 07:20:50 +01:00