Note that the HTML and XHTML export are handled by different code paths. But this meta bug is apparently for both?
For instance bug #146264 is about XHTML export. (But as such, the sample document there exports incorrectly to HTML, too, but incorrectly in a different way.)
(In reply to Tor Lillqvist from comment #1)
> Note that the HTML and XHTML export are handled by different code paths. But
> this meta bug is apparently for both?
I asked myself the same question. And so I changed bug summary to make at least clear, that meta bug collects both. I'm not a developer so I can't decide, if we should make two meta-bugs of it.