At least in the state that gedit starts without trackback.

However, it doesn’t do anything, when activated I get this traceback:

Traceback (most recent call last):
  File "/home/matej/.local/share/gedit/plugins/xmlhelper.py", line 80, in
<lambda>
    lambda a, b: self.end_tag()),
AttributeError: 'XMLHelper' object has no attribute 'end_tag'

which doesn’t make any sense to me … there is self.end_tag() method in
XMLHelper object.
Still doesn’t crash but doesn’t work either.
Finally seems to work.
Lame attempts to make new code work.