Skip to content

Commit c9e77a7

Browse files
committed
Include trailing line breaks when stripping dot from metric name
1 parent f5de1e5 commit c9e77a7

File tree

1 file changed

+1
-1
lines changed
  • site/themes/arangodb-docs-theme/layouts/shortcodes

1 file changed

+1
-1
lines changed

site/themes/arangodb-docs-theme/layouts/shortcodes/metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
{{ range $metric := $metricGroup }}
1616

17-
#### {{ strings.TrimRight "." $metric.help }}
17+
#### {{ strings.TrimRight ".\r\n" $metric.help }}
1818

1919
{{ if eq $metric.type "histogram" -}}
2020
`{{ $metric.name }}` (basename)<br>

0 commit comments

Comments
 (0)