summary and description fields should now never be nil

This commit is contained in:
steve donovan 2011-08-24 18:32:51 +02:00
parent 8a5261424d
commit 7d9410f094
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ local function extract_tags (s)
summary = preamble
end
end -- and strip(description) ?
local tags = {summary=summary and strip(summary),description=description}
local tags = {summary=summary and strip(summary) or '',description=description or ''}
for _,item in ipairs(tag_items) do
local tag,value = item[1],item[2]
tag = Item.check_tag(tags,tag)