summaryrefslogtreecommitdiff
path: root/lib/format.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-10 09:32:11 +0200
committerErich Eckner <git@eckner.net>2018-07-10 09:32:11 +0200
commitb25c0f34d54af2928be99d6fd3b0f1a691e6873d (patch)
tree8f7add41c7a4a774f657c41b00f92c70f91f3f82 /lib/format.php
parentc634b6177e011be129f6c740b651d29307bc4c7e (diff)
downloadarchweb32-b25c0f34d54af2928be99d6fd3b0f1a691e6873d.tar.xz
lib/format.php: tsv should end with lf
Diffstat (limited to 'lib/format.php')
-rw-r--r--lib/format.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format.php b/lib/format.php
index 6c18648..1440b64 100644
--- a/lib/format.php
+++ b/lib/format.php
@@ -19,10 +19,10 @@ function export_as_requested($content) {
if (! isset($_GET["no-headers"]))
print implode("\t",array_keys($content["tsv"][0])) . "\n";
print implode(
- "\n",
+ "",
array_map(
function($row){
- return implode("\t",$row);
+ return implode("\t",$row) . "\n";
},
$content["tsv"]
)