remove paragraphs in param/return value list

This commit is contained in:
Matthias Richter 2012-04-13 21:09:41 +02:00
parent f4337138e3
commit b41a0b59a8
2 changed files with 36 additions and 36 deletions

File diff suppressed because one or more lines are too long

View File

@ -189,7 +189,7 @@ function Function(M)
F('<div class="arguments">Parameters:<dl>') F('<div class="arguments">Parameters:<dl>')
if #M.params == 0 then F('<dt>None</dt>') end if #M.params == 0 then F('<dt>None</dt>') end
for _,p in ipairs(M.params) do for _,p in ipairs(M.params) do
F('<dt>%s <code>%s</code></dt><dd>%s</dd>', p[1], p[2], markup(p[3])) F('<dt>%s <code>%s</code></dt><dd>%s</dd>', p[1], p[2], markup(p[3]):sub(4,-5))
end end
F('</dl></div>') F('</dl></div>')
@ -197,7 +197,7 @@ function Function(M)
F('<div class="returns">Returns:<dl>') F('<div class="returns">Returns:<dl>')
if #M.returns == 0 then F('<dt>Nothing</dt>') end if #M.returns == 0 then F('<dt>Nothing</dt>') end
for _,r in ipairs(M.returns) do for _,r in ipairs(M.returns) do
F('<dt>%s</dt><dd>%s</dd>', r[1], markup(r[2])) F('<dt>%s</dt><dd>%s</dd>', r[1], markup(r[2]):sub(4,-5))
end end
F('</dl></div>') F('</dl></div>')