Hello,

There is a big issue with the removal of empty sections by cosmetic changes.

https://gerrit.wikimedia.org/r/#/c/433914/6/pywikibot/cosmetic_changes.py

It removes also non-empty sections, that starts and ends with HTML comments
See :
https://fr.wikipedia.org/w/index.php?title=S%C3%A9ries_t%C3%A9l%C3%A9vis%C3%A9es_diffus%C3%A9es_sur_American_Broadcasting_Company&diff=prev&oldid=148771218

This bug is, I think, critical because all changes with CC activated must be verified.

I don't think that CC should remove comments added by editors.

I tried to open a bug on phabricator but don't understand how to do it.

Regard