I'd really like to move to `to_html`, but only `to_xhtml` allows for the nice formatting and indenting. Making the switch would be a breaking change.