for non-self-closing elements, when importing from AI, would be nice if the apex html import would recognize (trim-length zero) innerText value that are blank and remove them…
FYI, am using this prompt instruction now to try to avoid this situation, but would be good to have apex trim those blank innerTexts.
“Always use self-closing tags for void elements and any elements that have only attributes unless they require content.”