#2905 (etree generates invalid html <div/> when rendering an empty div.)
by tonis · in Developers
Résumé
When looking at dashboard genertaion, it was funny as the dashboard items were nested divs, when they should be a list of divs.
Reason being empty dashabord items are returning E.div(*[]), and it's being rendered as <div/> which is being understood by the browser as <div>, which is causing odd nesting behavure.