You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/markup
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>
4 years ago
..
common Fix potential bugs (#10513) 4 years ago
csv Detect delimiter in CSV rendering (#7869) 5 years ago
external Better logging (#6038) (#6095) 5 years ago
markdown Allow different HardBreaks settings for documents and comments (#11515) 4 years ago
mdstripper Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
orgmode Update go-org to optimize code (#8824) 5 years ago
html.go Remove last traces of has-emoji class (#11263) 4 years ago
html_internal_test.go Issue/PR Context Popups (#9822) 5 years ago
html_test.go Support unicode emojis and remove emojify.js (#11032) 4 years ago
markup.go Don't manually replace whitespace during render (#10291) 4 years ago
markup_test.go Prioritize "readme.md" (#5691) 6 years ago
sanitizer.go Prevent 500 with badly formed task list (#11328) 4 years ago
sanitizer_test.go Restore checkbox rendering and prevent poor sanitization of spans (#11277) 4 years ago