This revision history: https://stackoverflow.com/posts/50029981/revisions notes that Revision 2 has the following impact:
Improved code formatting.
While it certainly does improve the formatting, it does so in such a way that removes the context for the following:
I am splitting this file and creating 2 files. One is .header file and other is .body file. Body file will start from "Example_Data" tag. Now the problem is when the .body file is created the content is creating right from the start of the file without considering the spaces. Like following:
In essence, the poor formatting is actually required to understand the question. This type of edit, meant to tidy up code, actually obfuscates the problem entirely.
Now, for this question, I can easily go in and add the spaces back in to keep the original message of the question, but if the edits were more significant and impactful, would this be the same approach, and what, if any, action should I take to inform the editor that he messed up the meaning of the question?
This is similar to another question that involves Suggested Edits, but as the user in question has >2K rep, there is no direct way to provide editing feedback as through the Suggested Edit queue. The options here would be direct rollback or additional edit as basic 2K user privs.
{..}
(or – yuck –begin..end
😀), Python defines code blocks by whitespace. And nobody can helpfully edit an OP's post into shape because you do not know if the bad indentation in a post may have caused the exact error that an OP was facing.{code}
tags so people can just copy/paste their code in verbatim?<pre>...</pre>
,<pre><code>...</code></pre>
(the former ignores leading newlines, but they requires<
to be<
, although TIO has the auto format code feature). Also you can highlight them and Ctrl+K. | Then what happens with code containing{code}
? | It's a limitation of the Markdown engine, not exactly Stack Overflow.