When I edit something with a lot of code to fix either spelling and grammar or code formatting, if the question contains mostly code, I get the following error message.
Oops! Your edit couldn't be submitted because:
• Your post does not have much context to explain the code sections; please explain your scenario more clearly.
Why does this happen? I am certain the Stack Overflow community does not want to preserve bad grammar or code formatting.
I assume this is to prevent people from adding large blocks of code without any explanation, but if I am just formatting the code so it is readable, then there is nothing else to add. The code is usually self explanatory, once it is formatted so it can be read without giving everyone a headache.