# HG changeset patch # User Kim Alvefur # Date 1372777454 -7200 # Node ID 9c4b996bdfd8d7213047cb8481758b06ecbf6d5b # Parent ab7e4845b6c1c09da510749e2cd4029aa1cc9fb1 clix.publish_atom: Why were there an argument given to :up() ??? diff -r ab7e4845b6c1 -r 9c4b996bdfd8 clix/publish_atom.lua --- a/clix/publish_atom.lua Tue Jul 02 17:03:34 2013 +0200 +++ b/clix/publish_atom.lua Tue Jul 02 17:04:14 2013 +0200 @@ -24,7 +24,7 @@ -- Required: id, title, updated, author (which must have a name) local entry_id = opts.id or new_uuid(); local atom_entry = verse.stanza("entry", { xmlns = xmlns_atom}) - :tag("id"):text(entry_id):up(id) + :tag("id"):text(entry_id):up() :tag("title"):text(opts.title or ""):up() :tag("updated"):text(opts.updated or datetime()):up(); atom_entry:tag("author"):tag("name"):text(opts.author or os.getenv("USER") or "Unknown author"):up();