8 lines
178 B
Lua
8 lines
178 B
Lua
stead.fmt = stead.hook(stead.fmt, function(f, ...)
|
|
local r = f(unpack(arg))
|
|
if type(r) == 'string' then
|
|
r = r:gsub('~[ \t]*([^ \t]+)', txtnb(' %1'));
|
|
end
|
|
return r;
|
|
end)
|