Make contents html5 compliant for epub3