For the last six months WMSE staff has been having issues with the editor replacing standard spaces by some non-standard whitespace (possibly an nbsp character). While the source of that behaviour will be handled by a different task this focuses on the fact that the change in whitespace breaks template rendering to start with.
The problems arises when such a white space character occurs between the parameter name and the equal sign. As a result the parameter name is not recognized and the template renders incorrectly
While normal spaces (and presumably tabs and line breaks) are stripped from the parameter name this whitespace obviously is not. Extending the list of whitespace which gets stripped would solve this issue.
For an example of a diff where the non-standard whitespace is replaced by normal spaces to repair the template see: https://se.wikimedia.org/w/index.php?title=Projekt:En_gemenskap_f%C3%B6r_alla_2020/Projektdata&type=revision&diff=83760&oldid=83754&diffmode=source. Since copying the character into the clipboard replaces it by a standard