presidentbeef/brakeman — pull request #191 by presidentbeef (2012-11-29 00:10:38+00:00)
Title: Keep whitespace format in Warning#to_hash/#to_json

The code formatting for warnings strips whitespace and newlines. This was because that's what Brakeman's reports needed. But since JSON is the main format used by external tools, it should just provide unmolested and syntactically legal formatted code.

This will break any tools relying on the exact code string.