Fri, 24 Aug 2018 23:29:32 +0200
clix.publish_atom: Fix prefix for activitystreams
Since when does it turn '-' into '_' ?
clix/publish_atom.lua | file | annotate | diff | comparison | revisions |
--- a/clix/publish_atom.lua Sat Jul 14 20:33:09 2018 +0200 +++ b/clix/publish_atom.lua Fri Aug 24 23:29:32 2018 +0200 @@ -38,7 +38,7 @@ end for opt, optval in pairs(opts) do - if opt:match"^as%-" then + if opt:sub(1,3) == "as_" then atom_entry:tag(opt:sub(4), { xmlns = xmlns_activitystreams } ) :text(optval):up(); end