steed/stead/para.lua
2010-06-23 10:35:53 +00:00

8 lines
172 B
Lua

stead.fmt = 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)