I switched my 'org-export-html-extension' variable from "html" to "xhtml" and found that code examples are being formatted incorrectly. I use Firefox, and when Firefox has (what it thinks is) HTML-in-XML, it uses Standards Mode. This happens: - if you get the document from a server and its MIME type is "application/xhtml+xml", or - if you get the document from a file, and its extension is ".xhtml". Otherwise it uses Quirks mode. In Standards mode, Firefox attempts to render everything per the spec. In Quirks mode, Firefox is being backwards compatible with legacy browsers. (I'm ignoring Almost Standards mode here.) The current master repo generates HTML like
  Quote paragraph 1.

  Quote paragraph 2.

  Quote paragraph 3.
  
which Firefox displays as we expect in Quirks mode. In Standards mode, Firefox adds an extra blank line before the "Quote paragraph 1." This comes from Firefox presenting the newline that Org Mode has inserted between the first ">" and the text. This blank line is very obvious in the browser, because the sample has an enclosing box. When I manually remove the newlines, both XHTML and HTML modes look correct, so I have created a patch (attached) to remove the newlines after the "pre". This fixes the XHTML display problem. The ASCII exporter looks fine after the change, and I can't see any difference in what the LaTeX and Docbook exporters generate. (Why am I bothering with XHTML in the first place? To embed SVG elements.) Derek -- Derek Upham sand@blarg.net