Skip to main content
Became Hot Meta Post
edited tags
Link
Machavity Mod
  • 31.6k
  • 38
  • 283
  • 382
Source Link
customcommander
  • 18.8k
  • 20
  • 35

Should I fix the formatting if it changes the meaning?

I was going to fix a simple typo in this answer. In its first revision it goes like this:

If you want to get an array of ints, with values form 1 to 10, from a Stream, there is IntStream at your disposal.

So I wanted to change form 1 to 10 to from 1 to 10. Simple...

However when I edited the answer, I saw this:

enter image description here


As you can see, what should have read as Stream<Integer> is shown as just Stream due to <Integer> being interpreted as HTML (and rejected by the editor) I presume.

If I format things correctly I reveal what the author truly meant. However wouldn't that also invalidate the votes of the public? After such a change, this may or may not be the same answer that people found so useful.

What should I do?