From 9d09b9f0befc588d69890b92543a2fa99400da59 Mon Sep 17 00:00:00 2001 From: Alexander Chabin Date: Tue, 23 Aug 2022 14:25:03 +0500 Subject: [PATCH] Remove quotes from messages --- client/view/Form/Form.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/view/Form/Form.js b/client/view/Form/Form.js index e7360e44..80fab4ea 100644 --- a/client/view/Form/Form.js +++ b/client/view/Form/Form.js @@ -171,7 +171,9 @@ async function updateStatsView(query, region) { let { lint, browsers, coverage, versions } = data if (lint.length > 0) { - let linterWarning = lint.map(({ message }) => message).join('.
') + let linterWarning = lint + .map(({ message }) => message.replace(/`/g, '')) + .join('.
') renderWarning(linterWarning) }