0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

browsers-devices: add chomp (#32116)

This is to remove any trailing newlines in the `.browserslistrc` shortcode
This commit is contained in:
XhmikosR 2020-11-11 18:29:18 +02:00 committed by GitHub
parent 3612a1e463
commit 7ad8967367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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 >}}
```