My opening post had an additional 4 spaces because I was having trouble trying to display a code block within a code block. (because of forum formatting)
From your reply this means if somebody uses 2 spaces indentation instead of 4 space indentation they will have weird formatting. The physical screenshot that I took in my opening post is exactly what I meant.
The same code on github with 2 space indentation does not do this.

But at least now I understand, it was somebodies intention that indentation on code blocks should always be 4 spaces. So if 2 space indentation is used then the lines that happen to have 4 spaces will get the mark while other will not, and it will just look really weird.