From e4f8f0914ff3ab55d2699fa9136381e253ff0149 Mon Sep 17 00:00:00 2001 From: Robin Malley Date: Thu, 6 Jul 2023 00:42:33 +0000 Subject: [PATCH] Fix a bug from refactoring --- src/lua/util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/util.lua b/src/lua/util.lua index e07c5a1..4e0909c 100644 --- a/src/lua/util.lua +++ b/src/lua/util.lua @@ -171,8 +171,8 @@ function util.parse_tags(str) assert(tag, "Found a nil or false tag in:" .. str) local tag_fmt = tag:match("%s*(.*)%s*"):lower():gsub("^.",string.upper) assert(tag_fmt, "After processing tag:" .. tag .. " it was falsey.") - if string.len(tag_capitalized) > 0 then - table.insert(tags, tag_capitalized) + if string.len(tag_fmt) > 0 then + table.insert(tags, tag_fmt) end end return tags