From f7bb75ce56ca3319f9189c051cc537e0ad607d25 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Sun, 18 Aug 2024 16:36:06 +0200 Subject: [PATCH] revert: accidental change --- modules/markup/markdown/callout/github.go | 1 + 1 file changed, 1 insertion(+) 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 })