Update translate.conf.lua (#6765)

Remove sanitization of number-translation regexes
This commit is contained in:
Andy Binder 2023-06-28 17:48:39 +02:00 committed by GitHub
parent b3f9e44db1
commit 6f352c2efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@
x = 0;
dbh:query(sql, params, function(field)
if (string.len(field.number_translation_detail_regex) > 0) then
xml:append([[ <rule regex="]] .. xml.sanitize(field.number_translation_detail_regex) .. [[" replace="]] .. xml.sanitize(field.number_translation_detail_replace) .. [[" />]]);
xml:append([[ <rule regex="]] .. field.number_translation_detail_regex .. [[" replace="]] .. field.number_translation_detail_replace .. [[" />]]);
end
end)