From ec7d0a06ff5ec58fa4bc6020091f5296169d0a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 4 Jul 2018 16:07:55 +0200 Subject: [PATCH] Fix i18n to over escape things! --- src/renderer/i18n/instanciate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/i18n/instanciate.js b/src/renderer/i18n/instanciate.js index e4217dfe..4521b736 100644 --- a/src/renderer/i18n/instanciate.js +++ b/src/renderer/i18n/instanciate.js @@ -5,6 +5,9 @@ const commonConfig = { fallbackLng: 'en', debug: false, compatibilityJSON: 'v2', + interpolation: { + escapeValue: false, // not needed for react!! + }, react: { wait: process.env.NODE_ENV !== 'test', },