I suspect only XHTML is available because restricting to that solves some of the non-compatible bits of HTML (with XML).  This is only used in the console AFAIK, we could log a message beforehand?  I'll update the docs.