The custom brackets option I introduced the other day resulted in adding 1 character on save every time.
This happens because the editing command was not adapted to the length of the custom brackets and always assumes a length of 1.
Thanks to @baspeeters for contribution