Use `self.SPACE_CHAR` here and above? (Please note that I came here from [MediaWiki bug 54136](https://bugzilla.wikimedia.org/show_bug.cgi?id=54136) and I have no idea how this code works, just reading the changes :) )