summaryrefslogtreecommitdiffstats
path: root/scripts/r.js
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-03-22 16:34:53 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-03-22 16:34:53 +0100
commit971e14ea4b454df71f142f18738e33848b205ad4 (patch)
tree30c811aaa79bcce4fe23394150baa56de86cd256 /scripts/r.js
parent06ce8d971b1dfd7a520c1c2e4933d84f3e4c80d0 (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