forgejo/routers/repo
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
..
activity.go
attachment.go
blame.go
branch.go
commit.go Properly handle and return empty string for dangling commits in GetBranchName (#11587) 2020-05-23 20:49:48 +01:00
compare.go Check that the ctx.User is not nil before checking its ID (#11424) 2020-05-15 16:44:33 -04:00
download.go
editor.go Switch code editor to Monaco (#11366) 2020-05-14 19:06:01 +03:00
editor_test.go
http.go
issue.go Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
milestone.go
pull.go
pull_review.go
release.go
release_test.go
repo.go
search.go
setting.go Prevent transferring repos to invisible orgs (#11517) 2020-05-21 08:48:01 -05:00
setting_protected_branch.go
settings_test.go
topic.go
view.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
webhook.go Fix webhook template when validation errors occur (#11421) 2020-05-15 22:02:46 +03:00
wiki.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
wiki_test.go