From 1c67286f85fb177169c8e428fd791b3c6e50fa26 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Thu, 16 Mar 2023 11:01:25 -0700 Subject: [PATCH] [ci-base] fix again --- d2graph/d2graph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2graph/d2graph.go b/d2graph/d2graph.go index 8a764be98..35de7648a 100644 --- a/d2graph/d2graph.go +++ b/d2graph/d2graph.go @@ -1479,7 +1479,7 @@ func (g *Graph) Texts() []*d2target.MText { if capsLock { text.Text = strings.ToUpper(text.Text) } - texts = appendTextDedup(texts, edge.Text()) + texts = appendTextDedup(texts, text) } if edge.SrcArrowhead != nil && edge.SrcArrowhead.Label.Value != "" { t := edge.Text()