There are many questions on Stack Overflow with bad code formatting or wrong indentation.

Usually this requires some work to fix when reviewing a question. Especially, when someone has a lot of code, and used tabs instead of spaces.

Most of the time, I end up cutting out the code, inserting it into an editor, and pressing "Convert tabs to spaces". Afterwards it's easy to insert the code, and press the { }-button to provide correct indentation and highlighting.