3.1.0 - 2024-05-07
Added
- Allow setting
escape
option per parameter replacing.
For more security this should be used instead of disabling paramter escaping,
see pull request #756// Example t( 'my-app', '{a}{userInput}{a_end}', { a: { value: '<a>', escape: false, }, userInput: somePossiblyInsecureValue, // This will be escaped a_end: { value: '</a>', escape: false, } }, )