diff --git a/modules/markup/markdown/callout/github.go b/modules/markup/markdown/callout/github.go index c6da30f7f4..9b8b611d18 100644 --- a/modules/markup/markdown/callout/github.go +++ b/modules/markup/markdown/callout/github.go @@ -90,6 +90,7 @@ func (g *GitHubCalloutTransformer) Transform(node *ast.Document, reader text.Rea firstParagraph.Parent().InsertBefore(firstParagraph.Parent(), firstParagraph, attentionParagraph) firstParagraph.RemoveChild(firstParagraph, firstTextNode) firstParagraph.RemoveChild(firstParagraph, secondTextNode) + firstParagraph.RemoveChild(firstParagraph, thirdTextNode) } return ast.WalkContinue, nil })