I was running through the review queue of low-quality posts and came across this one.

how to access json data through javascript

Granted it isn't a very clear or good question, but it had some answers, so I thought rather than flag it I would just edit it and fix the grammar and formatting problems. However when I clicked edit it looked different and didn't show up as if it should appear in a code block. But for whatever reason it still is, can anyone explain what is going on here?

Here's another one exhibiting the same behavior: how to call XML based web service through a blackberry eclipse JDE.

Its source looks like a plain paragraph, but before someone fixed it, it showed as a code block with a scrollbar:

It would be interesting to see what is the actual root cause of this, even though the solution is quite obvious as already pointed out.

  • Thanks for the edit, my question seemed quite silly when people just immediately fixed them and the edit history looks like they were always normal =). – KDiTraglia Aug 20 '12 at 21:20
  • Yeah, and also might have taken away the opportunity to get slightly more detail... – Arjan Aug 21 '12 at 16:20

I can only guess at this, but it appears to me that there were some hidden (non printable) characters in there and that the edit was not significant enough (or was not detected as an edit) so was not applied.

After simply trying to delete the (non-existing) whitespace and saving the edit, I saw what you did (nothing was changed).

I made some extra changes (added a line break, changed the case of a letter and added a ?) and that seems to have sorted it.

| improve this answer | |
  • Hmm, strange yeah it looks fine now. – KDiTraglia Aug 20 '12 at 20:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .