fix escaping

This commit is contained in:
Dennis Eichhorn 2022-02-12 21:31:28 +01:00
parent b3b729f9d9
commit ebb0f89088

View File

@ -218,7 +218,7 @@ final class Importer extends ImporterAbstract
" '" . $key . "'"
. \str_repeat(' ', $keyLengths[$module][$theme][$file] - \strlen($key))
. " => '"
. \str_replace(['\'', '\\'], ['\\\'', '\\\\'], $values[$language] ?? '')
. \str_replace(['\\', '\''], ['\\\\', '\\\''], $values[$language] ?? '')
. "',\n"
);
}