From 7ad8967367dcd6ebccb9569096ebec0f627e35ac Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 11 Nov 2020 18:29:18 +0200 Subject: [PATCH] browsers-devices: add `chomp` (#32116) This is to remove any trailing newlines in the `.browserslistrc` shortcode --- site/content/docs/5.0/getting-started/browsers-devices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.0/getting-started/browsers-devices.md b/site/content/docs/5.0/getting-started/browsers-devices.md index 7dc0743b7458..bdda154a309a 100644 --- a/site/content/docs/5.0/getting-started/browsers-devices.md +++ b/site/content/docs/5.0/getting-started/browsers-devices.md @@ -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 >}} ```