diff --git a/ldoc/html/ldoc_css.lua b/ldoc/html/ldoc_css.lua
index 4470045..76756b1 100644
--- a/ldoc/html/ldoc_css.lua
+++ b/ldoc/html/ldoc_css.lua
@@ -272,6 +272,11 @@ table.function_list td {
table.function_list td.name { background-color: #f0f0f0; ; min-width: 200px; }
table.function_list td.summary { width: 100%; }
+ul.nowrap {
+ overflow:auto;
+ whitespace:nowrap;
+}
+
dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;}
dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;}
dl.table h3, dl.function h3 {font-size: .95em;}
diff --git a/ldoc/html/ldoc_ltp.lua b/ldoc/html/ldoc_ltp.lua
index 450e199..eee6277 100644
--- a/ldoc/html/ldoc_ltp.lua
+++ b/ldoc/html/ldoc_ltp.lua
@@ -24,7 +24,6 @@ return [==[
# local use_li = ldoc.use_li
# local display_name = ldoc.display_name
# local iter = ldoc.modules.iter
-# ---local M = ldoc.markup
# local function M(txt,item) return ldoc.markup(txt,item,ldoc.plain) end
# local nowrap = ldoc.wrap and '' or 'nowrap'
@@ -54,7 +53,7 @@ return [==[
# if ldoc.no_summary and module and not ldoc.one then -- bang out the functions on the side
# for kind, items in module.kinds() do
$(kind)
-
+
# for item in items() do
- $(display_name(item))
# end
@@ -67,7 +66,7 @@ return [==[
# for kind, mods, type in ldoc.kinds() do
# if not ldoc.kinds_allowed or ldoc.kinds_allowed[type] then
$(kind)
-
+
# for mod in mods() do
# if mod.name == this_mod then -- highlight current module, link to others
- $(mod.name)
@@ -187,10 +186,10 @@ return [==[
Returns:
# for i,group in ldoc.ipairs(groups) do local li,il = use_li(group)
-# for r in group:iter() do local type, ctypes = item:return_type(r)
+# for r in group:iter() do local type, ctypes = item:return_type(r); local rt = ldoc.typename(type)
$(li)
-# if type ~= '' then
- $(ldoc.typename(type))
+# if rt ~= '' then
+ $(rt)
# end
$(M(r.text,item))$(il)
# if ctypes then
diff --git a/ldoc/html/ldoc_pale_css.lua b/ldoc/html/ldoc_pale_css.lua
index fe72012..75abb32 100644
--- a/ldoc/html/ldoc_pale_css.lua
+++ b/ldoc/html/ldoc_pale_css.lua
@@ -274,6 +274,11 @@ dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;}
dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;}
dl.table h3, dl.function h3 {font-size: .95em;}
+ul.nowrap {
+ overflow:auto;
+ whitespace:nowrap;
+}
+
/* stop sublists from having initial vertical space */
ul ul { margin-top: 0px; }
ol ul { margin-top: 0px; }