Software /
code /
clix
Changeset
129:e805c014efa9
clix.publish_atom: Fix prefix for activitystreams
Since when does it turn '-' into '_' ?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Aug 2018 23:29:32 +0200 |
parents | 128:0ae8deb6f75d |
children | 130:11d526d74460 |
files | clix/publish_atom.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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