forgejo/modules
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
..
analyze
auth Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
avatar
base
cache
charset
context api.Context.NotFound(...) should tolerate nil (#11288) 2020-05-05 21:52:13 +03:00
convert API PullReviewComment HTMLPullURL should return the HTMLURL (#11501) 2020-05-20 22:41:30 -04:00
cron Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
emoji Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
eventsource Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
generate
git Properly handle and return empty string for dangling commits in GetBranchName (#11587) 2020-05-23 20:49:48 +01:00
gitgraph
graceful Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00
highlight
httplib
indexer Log the indexer path on failure (#11172) 2020-04-22 16:16:58 -04:00
lfs Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00
log
markup Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
metrics
migrations Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
notification Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
options
password
pprof
private
process
public Send 404 immediately for known public requests (#11117) 2020-04-18 22:01:06 +01:00
queue Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
recaptcha
references
repofiles Revert "Avoid 0 new commits messages to be send (#11082)" (#11397) 2020-05-13 10:50:56 +03:00
repository Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
secret
session Prevent (caught) panic on login (#11590) 2020-05-23 20:59:04 -03:00
setting Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
ssh
structs API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
sync
task
templates Move serviceworker to workbox and fix SSE interference (#11538) 2020-05-21 21:45:34 -04:00
test
timeutil
upload
user
util Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
validation
webhook Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00