mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
814ca9ffea
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 [email protected] Changes to index.js as per @silverwind Co-authored-by: silverwind <[email protected]> Changes to docs as per @guillep2k Co-authored-by: guillep2k <[email protected]>