fix: inline HTML parsing

some elements were missing or not in the correct order