I am attaching a partial patch (see below for explanation of partial) along with sample files, I hope others here can help finish this. Goal: Produce well-formed XHTML. What I have Fixed: 0) Ensure all tagnames are lower case. 1) Emit correct doctype and xhtml namespace. 2) Emit /> to close meta tags. 3) Emit to close bullets (not all cases covered) 4) Ensured that all attribute values are quoted. ToDo: A) Emit closing li tags in all cases. B) Emit closing
to close paragraphs. C) Ensure that author and date bits on the bottom are wrapped in a...
where xxx is author or date as appropriate. I'm attaching a bullets.org file, and the final xhtml output I'd like to produce. *** org.el 2006/05/26 01:29:49 1.1 --- org.el 2006/05/26 01:57:39 *************** *** 12609,12634 **** ;; File header (insert (format ! " !\n") (aset levels-open (1- level) t) ! (insert "
\n"))) (if org-export-with-section-numbers (setq title (concat (org-section-number level) " " title))) (setq level (+ level 1)) --- 13256,13262 ---- (if (aref levels-open (1- level)) (insert "
\n") (aset levels-open (1- level) t) ! (insert "