mirror of https://github.com/koreader/koreader
[fix] gettext: don't replace backslash characters (#8511)
Everything in string.gsub() is replaced, not only the matching group. By using two groups, we can correctly return the full matched string when none of the special conditions apply. Fixes <https://github.com/koreader/koreader/issues/8486>.reviewable/pr8513/r1
parent
785eb5f3ef
commit
1c8ab19f83
Loading…
Reference in New Issue