mostafabarmshory / modules

Common site modules
MIT License
2 stars 0 forks source link

Remove empty element recursively #1

Closed mostafabarmshory closed 4 years ago

mostafabarmshory commented 4 years ago

Suppose there is an empty element in a div, so both are empty and must be removed from the view. In the current version, the child is removed and the parent is not. So there is an empty element after running the process.