prep for new format; accept pipe as tag separator

develop
myk002 2022-08-07 22:13:46 -07:00
parent f78e4276f9
commit ef56addb14
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -211,7 +211,7 @@ local function update_entry(entry, iterator, opts)
::continue:: ::continue::
end end
entry.tags = {} entry.tags = {}
for _,tag in ipairs(tags:split('[ ,]+')) do for _,tag in ipairs(tags:split('[ ,|]+')) do
entry.tags[tag] = true entry.tags[tag] = true
end end
if #lines > 0 then if #lines > 0 then