summaryrefslogtreecommitdiffstats
path: root/modules/references
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-12-31 01:53:28 +0000
committerLauris BH <lauris@nix.lv>2019-12-31 03:53:28 +0200
commit27757714d0420192e6139d1e4206446dcefe6531 (patch)
treed237deeb48315f1465dbd915b65f95973c4cbbe9 /modules/references
parent0c07f1de5b8cf7b9f9f607aae76a53c99aeb2c04 (diff)
downloadgitea-27757714d0420192e6139d1e4206446dcefe6531.tar.gz
gitea-27757714d0420192e6139d1e4206446dcefe6531.zip
Change markdown rendering from blackfriday to goldmark (#9533)
* Move to goldmark Markdown rendering moved from blackfriday to the goldmark. Multiple subtle changes required to the goldmark extensions to keep current rendering and defaults. Can go further with goldmark linkify and have this work within markdown rendering making the link processor unnecessary. Need to think about how to go about allowing extensions - at present it seems that these would be hard to do without recompilation. * linter fixes Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules/references')
-rw-r--r--modules/references/references_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/references/references_test.go b/modules/references/references_test.go
index b38ee102ba..bcb2c4384f 100644
--- a/modules/references/references_test.go
+++ b/modules/references/references_test.go
@@ -44,10 +44,6 @@ func TestFindAllIssueReferences(t *testing.T) {
},
},
{
- "#123 no, this is a title.",
- []testResult{},
- },
- {
" #124 yes, this is a reference.",
[]testResult{
{124, "", "", "124", false, XRefActionNone, &RefSpan{Start: 0, End: 4}, nil},