# HG changeset patch # User Kim Alvefur # Date 1535146172 -7200 # Node ID e805c014efa91c2eb2f832260960923c7b194a70 # Parent 0ae8deb6f75da060f5141b5f7a53582679182f32 clix.publish_atom: Fix prefix for activitystreams Since when does it turn '-' into '_' ? diff -r 0ae8deb6f75d -r e805c014efa9 clix/publish_atom.lua --- 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