I'm observing an increasing number of new questions being posted with code samples that are broken, because the code had been wrapped in places where wrapping a line is invalid. Yet the people who posted the questions claim that their code did not throw the syntax errors that the code in their question clearly does (if they respond at all, that is).
Example from a recent question in the PowerShell tag:
... | where { Test-Connection -
ComputerName $_ -Count 1 -Quiet }
The above code should actually look like this:
... | where { Test-Connection -ComputerName $_ -Count 1 -Quiet }
To me it looks like the code had been line-wrapped to make it fit the width of the content area. I suspected the new "ask a question" wizard might have something to do with that, but I just tested the wizard and the resulting question was formatted just fine.
Is it just me, or are others observing this as well? Does anyone have an idea what might be causing this?
_
at the end of each "part". I can't tell for sure if that was above normal though.javascript
pasting big ol' one-liners (usually a JSON dump) making the horizontal scrollbar thumb awfully small.