mirror of
https://github.com/minetest-mods/intllib.git
synced 2025-01-23 08:20:19 +01:00
Output character itself if unknown escape.
This commit is contained in:
parent
a3f9090ee8
commit
e72ab692e0
@ -25,7 +25,7 @@ local function unescape(str)
|
||||
local bsl = #bs
|
||||
local realbs = strrep("\\", bsl/2)
|
||||
if bsl%2 == 1 then
|
||||
c = escapes[c]
|
||||
c = escapes[c] or c
|
||||
end
|
||||
return realbs..c
|
||||
end))
|
||||
|
Loading…
Reference in New Issue
Block a user