diff options
author | 2012-02-10 13:55:34 -0500 | |
---|---|---|
committer | 2012-02-10 13:55:34 -0500 | |
commit | b3d0b5defde02020ad41225b4b11e82c4ea90af9 (patch) | |
tree | a3f3fbfd41b21757630c1e59cbf9d9ed801fa983 /scripts/update_doc | |
parent | fbcb4f5c1dcfa2ffa45fb82a3bad2e543ee071e9 (diff) | |
download | textadept-b3d0b5defde02020ad41225b4b11e82c4ea90af9.tar.gz textadept-b3d0b5defde02020ad41225b4b11e82c4ea90af9.zip |
Update LuaDoc with new formatting.
Diffstat (limited to 'scripts/update_doc')
-rwxr-xr-x | scripts/update_doc | 1 |
1 files changed, 1 insertions, 0 deletions
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..'<br />' end markdown[#markdown + 1] = match or '' elseif flag then -- markdown ended break |