Fix double quotes inside cloudflare analytics HTML attribute (#520)

This commit is contained in:
Digital Pencil 2022-05-22 01:58:58 +08:00 committed by GitHub
parent 250a5c851d
commit 296edd33ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,3 @@
{%- if theme.cloudflare_analytics %}
<script{{ pjax }} defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "{{ theme.cloudflare_analytics }}"}'></script>
<script{{ pjax }} defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{&quot;token&quot;: &quot;{{ theme.cloudflare_analytics }}&quot;}'></script>
{%- endif %}