]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
browsers-devices: add `chomp` (#32116)
authorXhmikosR <xhmikosr@gmail.com>
Wed, 11 Nov 2020 16:29:18 +0000 (18:29 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Nov 2020 16:29:18 +0000 (18:29 +0200)
This is to remove any trailing newlines in the `.browserslistrc` shortcode

site/content/docs/5.0/getting-started/browsers-devices.md

index 7dc0743b745801cf1eed5ac9c4c538f5f5df126d..bdda154a309ac0487218cb5c2842016bfbbf8159 100644 (file)
@@ -16,7 +16,7 @@ You can find our supported range of browsers and their versions [in our `.browse
 
 ```text
 {{< rf.inline >}}
-{{- readFile ".browserslistrc" | htmlEscape -}}
+{{- readFile ".browserslistrc" | chomp | htmlEscape -}}
 {{< /rf.inline >}}
 ```