- fix: a variable in the options of a nested
$t(key, { "name": "{{name}}" })is escaped once. With the defaultescapeValue: trueit was escaped for HTML before the options were parsed and again by the nestedt(), soTom & Jerrycame out asTom & Jerry(and react-i18next'sTranshas shownTom & Jerrysince 17.1.10, withescapeValue: falsetoo). These variables are now escaped for the options' JSON, whateverescapeValueis, and the nestedt()escapes them like the values of a direct call;defaultValueandjoinArraysthere, which it does not interpolate, stay escaped once. A value with",',\or a line break no longer breaks the options, withescapeValue: falsea value can no longer inject options such aslng, and withskipOnVariablesa{{placeholder}}inside a value is no longer interpolated a second time. The warning added in 26.0.6 now covers{{- var}}in these options, the one form still inserted unescaped, instead ofescapeValue: false.