fix epub preflight so that elements within <hi> are processed in proper mode