steed/stead/para.lua
2010-06-23 12:09:33 +00:00

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)