Output character itself if unknown escape.

This commit is contained in:
Diego Martínez 2017-01-24 23:22:16 -03:00
parent a3f9090ee8
commit e72ab692e0
1 changed files with 1 additions and 1 deletions

View File

@ -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))