It seems that some people don't understand how the "make code sample" button {}
works.
I encounter posts like this all the time:
The problem appears to be that they first click {}
, and then paste in their code, after the initial 4 spaces have been inserted:
When this happens, only the first line is indented, causing the behavior above. This is the only way I can figure out for this to happen.
Of course, selecting all of the code, then clicking {}
yields the correct result, even adding the line after the closing }
.
I know you can't fix stupid, but is there anything that can be done here? Does anyone else see this often (1-2 edits per evening, I'd say)?