Right now subclean will leave empty nodes instead of deleting them. The empty text nodes do not display for any client, but at least one person notified me it bothered them. This was done for two reason:
Empty nodes show where an ad was removed
Modifying the node structure risks breaking the file more than simply blanking the text
The ideal outcome would be passing a parameter to enable the deletion of empty nodes instead of blanking the text. This should be disabled by default.
This issue is very low priority and I likely will not bother unless there's a higher demand. If this is something you want please leave a reaction or comment.
Alternatively, if you want to add this feature yourself feel free to create a PR.
Right now subclean will leave empty nodes instead of deleting them. The empty text nodes do not display for any client, but at least one person notified me it bothered them. This was done for two reason:
The ideal outcome would be passing a parameter to enable the deletion of empty nodes instead of blanking the text. This should be disabled by default.
This issue is very low priority and I likely will not bother unless there's a higher demand. If this is something you want please leave a reaction or comment.
Alternatively, if you want to add this feature yourself feel free to create a PR.