Steps to reproduce
- Find or create a page with e.g. heading == Something == (== Something ==<tab><tab><tab>...)
- Run cosmetic changes on it (or whatever with cosmetic turned on in prefs)
Expected behavior
These tabs should be removed by removeUselessSpaces in cosmetic changes
Current behavior
Nothing happens to them
Configuration
Python 3.6.2, Pywikibot core master latest commit