txt nb and \ fix
This commit is contained in:
parent
97ff78b954
commit
07b9676b28
|
@ -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)
|
||||
|
|
Reference in a new issue