splitHtmlToHeadAndBody