Thread:VIRUS25/@comment-6769189-20200102055419/@comment-39037298-20200104163843

Regarding the main subject of the thread:

Rearranging and removing template fields from source code (as well as removing spacing) seem to be done by Classic editor Visual mode (aka RTE, not to be confused with Visual Editor), which could also be the culprit of template replacing that happened in Trish article (couldn't replicate this yet).

This mode can be disabled altogether by selecting Source editor as preferred one in the Editing section of your user preferences (you can still use Visual editor via dropdown menu of the Edit button).

Anyway, it's always better to use source editing, as well as Preview and "Show changes" option before submitting your edit, so you can fix or cancel it if something goes obviously wrong.