From 6fabd1b6340a1bec119553d8be5b6576fae39ab6 Mon Sep 17 00:00:00 2001 From: Bernard Xie Date: Mon, 19 Jun 2023 17:43:33 -0700 Subject: [PATCH] comment --- d2format/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2format/format.go b/d2format/format.go index f56635240..3f86dad4d 100644 --- a/d2format/format.go +++ b/d2format/format.go @@ -308,7 +308,7 @@ func (p *printer) _map(m *d2ast.Map) { if m.IsFileMap() && nb.IsBoardNode() { currString := p.sb.String() - // if the two characters before the special board is not a double newline, we add one + // if the two characters before the board node is not a double newline, we add one if currString[len(currString)-2:] != "\n\n" { p.newline() }