From d00f119488eb557f3c5e7b013fc3f47e38a2b625 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Mon, 27 Feb 2017 15:36:37 -0800 Subject: [PATCH] Fix code escaping --- lighthouse-core/report/handlebar-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse-core/report/handlebar-helpers.js b/lighthouse-core/report/handlebar-helpers.js index 221fcfd57d5e..f027fdd5f107 100644 --- a/lighthouse-core/report/handlebar-helpers.js +++ b/lighthouse-core/report/handlebar-helpers.js @@ -152,7 +152,7 @@ const handlebarHelpers = { return `${text}`; }; renderer.codespan = function(str) { - return `${Handlebars.Utils.escapeExpression(str)}`; + return `${str}`; }; // eslint-disable-next-line no-unused-vars renderer.code = function(code, language) {