I'm having problems with Tidy. I have it set to output XHTML Strict. I input the following:


This is a test

This is the output I get:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<html xmlns="http://www.w3.org/1999/xhtml">

    This is a test
Those of you who know XHTML will quickly recognise that the text "this is a test" can't go here; it needs to be inside a <p> element.

Tidy warns me about this, but it doesn't actually fix it. Does anybody know if there is a configuration option which forces all output from Tidy to be XHTML compliant, and actually fix things like this?