Open platform to collect and prioritize feedback
Remove the safelink option, it breaks empty links.
Matt Robertsd3b3fec48dbc
diff --git a/app/pkg/markdown/markdown.go b/app/pkg/markdown/markdown.goindex 758c6b88a..d7d1e6afe 100644--- a/app/pkg/markdown/markdown.go+++ b/app/pkg/markdown/markdown.go@@ -29,7 +29,6 @@ var htmlFlags = 0 |htmlrenderer.SmartypantsFractions |htmlrenderer.SmartypantsDashes |htmlrenderer.SmartypantsLatexDashes |- htmlrenderer.Safelink |htmlrenderer.NofollowLinks |htmlrenderer.NoreferrerLinksdiff --git a/app/pkg/markdown/markdown_test.go b/app/pkg/markdown/markdown_test.goindex 33525ae7c..f76249f5a 100644--- a/app/pkg/markdown/markdown_test.go+++ b/app/pkg/markdown/markdown_test.go@@ -75,6 +75,7 @@ How are you?`: `Hello WorldHow are you?`,"### Hello World": `Hello World`,"Check this out: `HEEEY`": "Check this out: `HEEEY`",+ "Bad links should be OK [link without actual link]()": "Bad links should be OK link without actual link",} {output := markdown.PlainText(input)Expect(output).Equals(expected)