[Python-checkins] python/nondist/peps pep-html-template,1.5,1.6 pep2html.py,1.48,1.49

goodger@users.sourceforge.net goodger@users.sourceforge.net
Mon, 11 Nov 2002 21:36:11 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv6081

Modified Files:
	pep-html-template pep2html.py 
Log Message:
Moved comment inside <head> to appease MSIE.

Index: pep-html-template
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-html-template,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pep-html-template	12 Nov 2002 00:55:10 -0000	1.5
--- pep-html-template	12 Nov 2002 05:36:09 -0000	1.6
***************
*** 1,3 ****
--- 1,5 ----
  <?xml version="1.0" encoding="%(encoding)s"?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html lang="en">
  <!--
  This HTML is auto-generated.  DO NOT EDIT THIS FILE!  If you are writing a new
***************
*** 5,10 ****
  to templates.  DO NOT USE THIS HTML FILE AS YOUR TEMPLATE!
  -->
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=%(encoding)s" />
--- 7,10 ----

Index: pep2html.py
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep2html.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** pep2html.py	12 Nov 2002 00:56:27 -0000	1.48
--- pep2html.py	12 Nov 2002 05:36:09 -0000	1.49
***************
*** 143,149 ****
      infile = iter(input_lines)
      # convert plaintext pep to minimal XHTML markup
-     print >> outfile, COMMENT
      print >> outfile, DTD
      print >> outfile, '<html>'
      print >> outfile, '<head>'
      # head
--- 143,149 ----
      infile = iter(input_lines)
      # convert plaintext pep to minimal XHTML markup
      print >> outfile, DTD
      print >> outfile, '<html>'
+     print >> outfile, COMMENT
      print >> outfile, '<head>'
      # head