Fixed. I had to modify the `normalizeHtml` function in utils to close self-closing tags to get it to work.