The code block in my answer Deleting Lines after reading them in C++ program using system() shows with strange indentation in Safari on iPhone, but looks OK in other places. It was entered using Firefox, not on the iPhone, and as far as I can see it is correctly formatted. Am I doing something wrong?
This is a screenshot from my iPhone:
It looks OK in other browsers, such as in this screenshot from Firefox on Linux:
EDIT: It seems to be a JavaScript thing. With JavaScript off it shows correctly. With JavaScript on, when I open the page (using the link above) it briefly shows the correct indentation, then changes to the wrong one.