diff --git a/ChangeLog b/ChangeLog index bcb7f3889..507ac728a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-11-27 Werner Lemberg + + * src/tools/docmaker/tohtml.py: Remove redundant `
' tags. + + This starts a series of commits into the direction of generating + valid HTML 5 code, especially using much more CSS. + 2014-11-27 suzuki toshiya Prevent too negative values (< FT_INT_MIN) in bitmap metrics, diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py index aa4ccbe78..f82cffa14 100644 --- a/src/tools/docmaker/tohtml.py +++ b/src/tools/docmaker/tohtml.py @@ -80,13 +80,13 @@ html_header_4 = """\ html_header_5 = """\ ">TOC] -

\ +

\ """ html_header_5t = """\ ">Index] -

\ +

\ """ html_header_6 = """\ @@ -101,8 +101,8 @@ html_footer = """\ """ # The header and footer used for each section. -section_title_header = "

" -section_title_footer = "

" +section_title_header = "

" +section_title_footer = "

" # The header and footer used for code segments. code_header = '
'
@@ -447,7 +447,7 @@ class  HtmlFormatter( Formatter ):
     #
     def  toc_enter( self ):
         print self.html_toc_header
-        print "

Table of Contents

" + print "

Table of Contents

" def toc_chapter_enter( self, chapter ): print chapter_header + string.join( chapter.title ) + chapter_inter