diff options
author | Erich Eckner <git@eckner.net> | 2018-07-10 09:32:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-10 09:32:11 +0200 |
commit | b25c0f34d54af2928be99d6fd3b0f1a691e6873d (patch) | |
tree | 8f7add41c7a4a774f657c41b00f92c70f91f3f82 /lib | |
parent | c634b6177e011be129f6c740b651d29307bc4c7e (diff) | |
download | archweb32-b25c0f34d54af2928be99d6fd3b0f1a691e6873d.tar.xz |
lib/format.php: tsv should end with lf
Diffstat (limited to 'lib')
-rw-r--r-- | lib/format.php | 4 |
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"] ) |