From b3d0b5defde02020ad41225b4b11e82c4ea90af9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 10 Feb 2012 13:55:34 -0500 Subject: Update LuaDoc with new formatting. --- scripts/update_doc | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/update_doc') diff --git a/scripts/update_doc b/scripts/update_doc index c728b338..74d1dd72 100755 --- a/scripts/update_doc +++ b/scripts/update_doc @@ -37,6 +37,7 @@ if luadoc then for line in f:lines() do if flag and line:match('^%-%-') then local match = line:match('^%-%- ([^\n]+)') + if match and match:find('^%s*[*+] ') then match = match..'
' end markdown[#markdown + 1] = match or '' elseif flag then -- markdown ended break -- cgit v1.2.3