MM-48089 Fix linter issue
Этот коммит содержится в:
@@ -46,7 +46,7 @@ func MarkdownToHTML(markdown, siteURL string) (string, error) {
|
|||||||
|
|
||||||
// Unescape any blockquote text to be parsed by the markdown parser.
|
// Unescape any blockquote text to be parsed by the markdown parser.
|
||||||
re := regexp.MustCompile(`^|\n(>)`)
|
re := regexp.MustCompile(`^|\n(>)`)
|
||||||
markdownClean := re.ReplaceAllFunc([]byte(absLinkMarkdown), func(s []byte) []byte {
|
markdownClean := re.ReplaceAllFunc(absLinkMarkdown, func(s []byte) []byte {
|
||||||
out := html.UnescapeString(string(s))
|
out := html.UnescapeString(string(s))
|
||||||
return []byte(out)
|
return []byte(out)
|
||||||
})
|
})
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user