Reworked whitetspaces cleanup in inlines