Fix lint issues

This commit is contained in:
Ludeeus 2020-08-05 22:10:54 +00:00
parent 74e5bdddd8
commit a12f007110

View File

@ -64,7 +64,7 @@ export const computeLocalize = (
if (!translatedMessage) {
translatedMessage = new IntlMessageFormat(
translatedValue.replace(/(\<.*\>)/g, "'$1'"),
translatedValue.replace(/[^'](<.*>)[^']/g, "'$1'"),
language,
formats
);