fixing xhtml specs

@fosdev @sheavalentine-mdsol please merge. Fix for failing xhtml specs.