I forgot to mention, this is with HTML 5 tag definitions, with HTML 4 the example input is kept as-is.
Wrong children of dl incorrectly wrapped in div
Similar bugs also affect the math, embed, img, data, object, picture, video, iframe, and q tags. All of them are phrasing content in the current HTML standard but not allowed as phrasing content in HtmlCleaner (at least not as children of tags like strong). See https://github.com/xwiki/xwiki-commons/blob/ce23e117d1cd1515250855eab9bcd7226e66a72f/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/XWikiHTML5TagProvider.java how we currently modify the HTML 5 tag definitions...
style-tag should not be allowed in body in HTML5
svg incorrectly not marked as phrasing content in HTML5