diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md
index f5b08f6b1..801917b2b 100644
--- a/docs/CONTRIBUTING.md
+++ b/docs/CONTRIBUTING.md
@@ -1,19 +1,14 @@
# Contributing
-
-- [CI](#ci)
-- [Flow](#flow)
-- [Logistics](#logistics)
-- [Dev](#dev)
- * [Content](#content)
- * [Tests](#tests)
- + [Running tests](#running-tests)
- + [Chaos tests](#chaos-tests)
- * [Documentation](#documentation)
- * [Questions](#questions)
-
-
+- CI
+- Flow
+- Logistics
+- Dev
+ - Content
+ - Tests
+ - Documentation
+ - Questions
## CI
diff --git a/main.go b/main.go
index ce2af7899..53ef5d201 100644
--- a/main.go
+++ b/main.go
@@ -244,7 +244,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, pad,
return svg, false, err
}
} else {
- if len(out) > 0 && out[len(out)-1] != '\n' {
+ if len(out) > 0 && out[len(out)-1] != '\n' {
out = append(out, '\n')
}
}