Skip to content

Commit f11160f

Browse files
committed
fix: Eliminate extra spaces in output markup, closes #75
1 parent 7ffdeb5 commit f11160f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ldoc/html/ldoc_ltp.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ return [==[
3131
# local display_name = ldoc.display_name
3232
# local iter = ldoc.modules.iter
3333
# local function M(txt,item) return ldoc.markup(txt,item,ldoc.plain) end
34-
# local nowrap = ldoc.wrap and '' or 'nowrap'
34+
# local nowrap = ldoc.wrap and '' or ' nowrap'
3535
3636
<!-- Menu -->
3737
@@ -139,7 +139,7 @@ return [==[
139139
<table class="function_list">
140140
# for item in items() do
141141
<tr>
142-
<td class="name" $(nowrap)><a href="#$(item.name)">$(display_name(item))</a></td>
142+
<td class="name"$(nowrap)><a href="#$(item.name)">$(display_name(item))</a></td>
143143
<td class="summary">$(M(item.summary,item))</td>
144144
</tr>
145145
# end -- for items
@@ -306,7 +306,7 @@ return [==[
306306
<table class="module_list">
307307
# for m in mods() do
308308
<tr>
309-
<td class="name" $(nowrap)><a href="$(no_spaces(kind))/$(m.name).html">$(m.name)</a></td>
309+
<td class="name"$(nowrap)><a href="$(no_spaces(kind))/$(m.name).html">$(m.name)</a></td>
310310
<td class="summary">$(M(ldoc.strip_header(m.summary),m))</td>
311311
</tr>
312312
# end -- for modules

0 commit comments

Comments
 (0)