Updated to version 0.4.0
XHTML 1.1 fixups