diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-03-22 16:34:53 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-03-22 16:34:53 +0100 |
commit | 971e14ea4b454df71f142f18738e33848b205ad4 (patch) | |
tree | 30c811aaa79bcce4fe23394150baa56de86cd256 /scripts/r.js | |
parent | 06ce8d971b1dfd7a520c1c2e4933d84f3e4c80d0 (diff) |
Reformat single-line JSON when rendering
Be conservative and only apply the reformating for single line pastes.
This should cover the most common cases and protect against trying to
reformat non-json content.
Fixes #14
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'scripts/r.js')
0 files changed, 0 insertions, 0 deletions