diff --git a/daprdocs/layouts/shortcodes/button.html b/daprdocs/layouts/shortcodes/button.html index 54ca0c714..d931eab64 100644 --- a/daprdocs/layouts/shortcodes/button.html +++ b/daprdocs/layouts/shortcodes/button.html @@ -4,4 +4,4 @@ {{- if $page -}}{{- $link = ref . $page -}}{{- end -}} -{{ .Inner }} +{{ .Inner | replaceRE "(.*)\n" "$1" }}