From 9cdaf41a724dd0d739611c698e92f4421a2fbafc Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 19 Nov 2012 00:28:48 -0500 Subject: Changed Lua code style for tables. --- doc/markdowndoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/markdowndoc.lua') diff --git a/doc/markdowndoc.lua b/doc/markdowndoc.lua index 1ae9f929..e9dc5577 100644 --- a/doc/markdowndoc.lua +++ b/doc/markdowndoc.lua @@ -92,7 +92,7 @@ end -- @param list The LuaDoc list. local function write_list(f, fmt, list) if not list or #list == 0 then return end - if type(list) == 'string' then list = { list } end + if type(list) == 'string' then list = {list} end f:write(string_format(LIST_TITLE, titles[fmt])) for _, value in ipairs(list) do if fmt ~= SEE then -- cgit v1.2.3