forked from gitea/gitea
1
0
Fork 0
gitea/templates
zeripath a777f8ae75
Allow different HardBreaks settings for documents and comments (#11515) (#11599)
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 11:45:56 +01:00
..
admin Fix form action template substitutions on admin pages (backport #11519) (#11531) 2020-05-21 23:02:56 -04:00
base Move serviceworker to workbox and fix SSE interference (#11538) (#11547) 2020-05-22 12:46:39 -03:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Ensure search action button coalesced to adjacent input (#11385) 2020-05-12 15:08:43 -04:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
pwa Move serviceworker to workbox and fix SSE interference (#11538) (#11547) 2020-05-22 12:46:39 -03:00
repo Allow different HardBreaks settings for documents and comments (#11515) (#11599) 2020-05-24 11:45:56 +01:00
status Make error pages translatable (#11163) 2020-04-27 18:03:15 -05:00
swagger Fix repo-list private and total count bugs (#11500) (#11532) 2020-05-21 08:23:20 -05:00
user Fix repo-list private and total count bugs (#11500) (#11532) 2020-05-21 08:23:20 -05:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 2020-04-06 09:33:15 -04:00