From 77d62397b95d52214ceb32a64dada8adf9c7c749 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 29 Jan 2018 13:37:12 -0800 Subject: [PATCH] report: escape usage of '#' in data URIs --- lighthouse-core/report/v2/report-styles.css | 4 ++-- lighthouse-core/report/v2/templates.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lighthouse-core/report/v2/report-styles.css b/lighthouse-core/report/v2/report-styles.css index b112fca5a8a3..c5db5a2b001b 100644 --- a/lighthouse-core/report/v2/report-styles.css +++ b/lighthouse-core/report/v2/report-styles.css @@ -55,8 +55,8 @@ --lh-audit-hgap: 12px; --lh-audit-group-vpadding: 12px; --lh-section-vpadding: 12px; - --pass-icon-url: url('data:image/svg+xml;utf8,'); - --fail-icon-url: url('data:image/svg+xml;utf8,'); + --pass-icon-url: url('data:image/svg+xml;utf8,'); + --fail-icon-url: url('data:image/svg+xml;utf8,'); --collapsed-icon-url: url('data:image/svg+xml;utf8,'); --expanded-icon-url: url('data:image/svg+xml;utf8,'); } diff --git a/lighthouse-core/report/v2/templates.html b/lighthouse-core/report/v2/templates.html index 4ca308ad3293..3a2bc90b9c1d 100644 --- a/lighthouse-core/report/v2/templates.html +++ b/lighthouse-core/report/v2/templates.html @@ -494,19 +494,19 @@

Lighthouse

background-position: top left; } .lh-crc .horiz-down { - background: url('data:image/svg+xml;utf8,'); + background: url('data:image/svg+xml;utf8,'); } .lh-crc .right { - background: url('data:image/svg+xml;utf8,'); + background: url('data:image/svg+xml;utf8,'); } .lh-crc .up-right { - background: url('data:image/svg+xml;utf8,'); + background: url('data:image/svg+xml;utf8,'); } .lh-crc .vert-right { - background: url('data:image/svg+xml;utf8,'); + background: url('data:image/svg+xml;utf8,'); } .lh-crc .vert { - background: url('data:image/svg+xml;utf8,'); + background: url('data:image/svg+xml;utf8,'); } .lh-crc .crc-tree { font-size: 14px;