summaryrefslogtreecommitdiffstats
path: root/index.php
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 /index.php
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 'index.php')
0 files changed, 0 insertions, 0 deletions