diff --git a/ChangeLog b/ChangeLog index dcf36ec3e..2baff98ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-11-27 Werner Lemberg + + [docmaker] Replace empty `' with CSS.. + + * src/tools/docmaker/tohtml.py (HtmlFormatter::section_enter): Do + it. + 2014-11-27 Werner Lemberg [docmaker] Replace some `' tags with `

' and `
'. diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py index cf702e7f3..4e18a048c 100644 --- a/src/tools/docmaker/tohtml.py +++ b/src/tools/docmaker/tohtml.py @@ -78,8 +78,8 @@ html_header_2 = """\ table.center { margin: auto; } table.index { margin: auto; border: 0; - border-collapse: collapse; - border-spacing: 0; } + border-collapse: separate; + border-spacing: 1em 0.3ex; } table.index tr { padding: 0; } table.index td { padding: 0; } table.index-toc-link { width: 100%; } @@ -92,7 +92,7 @@ html_header_2 = """\ table.synopsis { margin: auto; border: 0; border-collapse: separate; - border-spacing: 1em 1ex; } + border-spacing: 2em 1ex; } table.synopsis tr { padding: 0; } table.synopsis td { padding: 0; } @@ -550,7 +550,7 @@ class HtmlFormatter( Formatter ): line = "

" for c in range( columns ): i = r + c * rows - line = line + '
' + line = line + '' if i < count: name = section.block_names[i] line = ( line + ''