patch -- HTML export bug


Subject: patch -- HTML export bug
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Thu Jan 27 2000 - 04:17:16 CST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attached patch fixes bug 629 (<p> vs <br> in HTML) and adds some html
tags we were missing (<head>, <body>, etc). I also changed <DIV> tags
to <div>. Now, with approporiate <!DOCTYPE..> declarations, our HTML
export parses as valid HTML 4.01, and as valid XHTML 1.0. Additionally,
it renders indentically on every netscape browser from 3.0 to Mozilla (pre
5.0). I know there are people who don't like this idea, but I think we
should add a declaration that our documents are XHTML to the export code.
Those suggesting a seperate XHTML exporter should be aware that the
<!DOCTYPE> would be the ONLY difference between the two.
Also, I changed the suffix-recognizer to recognize .htm as well as .html.
I know that .htm is evil, but there are people who use it. Thus, we
should at least recognize it.

           
                                     sam th
                                     sytobinh@uchicago.edu
                                        
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4kBsut+kM0Mq9M/wRAv6rAJ0cnhKU/pvdrqWvAOZkuVC9OpyLeACcCtag
w6eMaSGu7Gaq4aH2+2xWDO0=
=yyNv
-----END PGP SIGNATURE-----




This archive was generated by hypermail 2b25 : Thu Jan 27 2000 - 04:17:20 CST