Only wrap non-empty text nodes into <p>.

Previous markup was not valid.
HTML5 valid markup.
Temporarily switch to xHTML output format.

Until we can get rid of that sed line.