[docmaker] Properly handle empty rows in Synopsis.
* src/tools/docmaker/tohtml.py (HtmlFormatter::section_enter): Emit ` ' for empty fields.
This commit is contained in:
parent
0e96f05009
commit
ef6a352344
@ -1,3 +1,10 @@
|
||||
2014-12-02 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[docmaker] Properly handle empty rows in Synopsis.
|
||||
|
||||
* src/tools/docmaker/tohtml.py (HtmlFormatter::section_enter): Emit
|
||||
` ' for empty fields.
|
||||
|
||||
2014-12-02 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[docmaker] Thinko.
|
||||
|
@ -594,7 +594,13 @@ class HtmlFormatter( Formatter ):
|
||||
line = line + '<td>'
|
||||
if i < count:
|
||||
name = section.block_names[i]
|
||||
if name != "/empty/":
|
||||
if name == "/empty/":
|
||||
# it can happen that a complete row is empty, and
|
||||
# without a proper `filler' the browser might
|
||||
# collapse the row to a much smaller height (or
|
||||
# even omit it completely)
|
||||
line = line + " "
|
||||
else:
|
||||
line = ( line + '<a href="#' + name + '">'
|
||||
+ name + '</a>' )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user