forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js
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
..
components Migrate ActivityHeatmap to Vue SFC (#10953) 2020-04-06 09:31:11 +08:00
features Close EventSource before unloading the page (#11539) (#11557) 2020-05-22 19:30:30 +01:00
standalone Reorganize frontend files and tooling (#10168) 2020-02-07 18:09:30 +01:00
vendor Misc JS linting and naming tweaks (#10652) 2020-03-11 21:34:54 +02:00
index.js Allow different HardBreaks settings for documents and comments (#11515) (#11599) 2020-05-24 11:45:56 +01:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
polyfills.js fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
publicpath.js Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) (#11542) 2020-05-22 20:18:44 +01:00
serviceworker.js Move serviceworker to workbox and fix SSE interference (#11538) (#11547) 2020-05-22 12:46:39 -03:00
utils.js Switch code editor to Monaco (#11366) 2020-05-14 19:06:01 +03:00