txt nb and \ fix

This commit is contained in:
p.kosyh 2011-07-26 17:06:01 +00:00
parent 97ff78b954
commit 07b9676b28

View file

@ -63,7 +63,7 @@ end;
iface.nb = function(self, str)
if type(str) ~= 'string' then return nil end
return "<w:"..str:gsub(">","\\>"):gsub("%^","\\%^")..">";
return "<w:"..str:gsub("\\", "\\\\\\"):gsub(">","\\>"):gsub("%^","\\%^")..">";
end;
iface.under = function(self, str)