diff --git a/src/languageHandler.js b/src/languageHandler.js index 12242a2e15..b846980dc1 100644 --- a/src/languageHandler.js +++ b/src/languageHandler.js @@ -109,7 +109,7 @@ export function _tJsx(jsxText, patterns, subs) { } // The translation returns text so there's no XSS vector here (no unsafe HTML, no code execution) - const tJsxText = _t(jsxText); + const tJsxText = _t(jsxText, {interpolate: false}); let output = [tJsxText]; for (let i = 0; i < patterns.length; i++) { // convert the last element in 'output' into 3 elements (pre-text, sub function, post-text).