clean up html headers and fix datetime tag on postmeta