diff --git a/format/htmlparser.go b/format/htmlparser.go index 7c3b3c88..25543926 100644 --- a/format/htmlparser.go +++ b/format/htmlparser.go @@ -455,7 +455,7 @@ var MarkdownHTMLParser = &HTMLParser{ PillConverter: DefaultPillConverter, LinkConverter: func(text, href string, ctx Context) string { if text == href { - return text + return fmt.Sprintf("<%s>", href) } return fmt.Sprintf("[%s](%s)", text, href) },