From 5a93c5226f6a8f5ccf9d975fe7bf552fe34ecfe4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 14 Mar 2019 02:11:09 +0200 Subject: [PATCH 1/2] browsers-devices.md: escape what we read. --- site/content/docs/4.3/getting-started/browsers-devices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/4.3/getting-started/browsers-devices.md b/site/content/docs/4.3/getting-started/browsers-devices.md index 4628bfbd021a..9185782f7fd9 100644 --- a/site/content/docs/4.3/getting-started/browsers-devices.md +++ b/site/content/docs/4.3/getting-started/browsers-devices.md @@ -15,7 +15,7 @@ Alternative browsers which use the latest version of WebKit, Blink, or Gecko, wh You can find our supported range of browsers and their versions [in our `.browserslistrc file`]({{< param repo >}}/blob/v{{< param current_version >}}/.browserslistrc): ```text -{{< rf.inline >}}{{ readFile ".browserslistrc" }}{{< /rf.inline >}} +{{< rf.inline >}}{{ readFile ".browserslistrc" | htmlEscape }}{{< /rf.inline >}} ``` We use [Autoprefixer](https://github.com/postcss/autoprefixer) to handle intended browser support via CSS prefixes, which uses [Browserslist](https://github.com/browserslist/browserslist) to manage these browser versions. Consult their documentation for how to integrate these tools into your projects. From 25f898e5a8c9dc2bdc395e35c9e69d95fb62f4fb Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 14 Mar 2019 02:31:56 +0200 Subject: [PATCH 2/2] Revert "Don't run Google Analytics locally. (#28384)" It just isn't of any real use for me. Whoever wants to block GA locally, they can do it on their side. --- site/layouts/partials/analytics.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/site/layouts/partials/analytics.html b/site/layouts/partials/analytics.html index b73409a4cb13..eeb57f90392b 100644 --- a/site/layouts/partials/analytics.html +++ b/site/layouts/partials/analytics.html @@ -1,8 +1,6 @@ -{{- if not .Site.IsServer -}} -{{- end -}}