mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
1c8ab19f83
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>.