From a8f1791c13b69a248958fc199ba797ef3c9c2d81 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Tue, 10 Jun 2014 07:07:16 +0100 Subject: [PATCH] Fixed #293 add newline to txt --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 84a98d52..037aa022 100644 --- a/index.php +++ b/index.php @@ -148,6 +148,7 @@ $license = array_shift(explode('', array_pop(explode('
', $license)))); $license = preg_replace('/<[^>]*>/', '', trim($license)); $license = html_entity_decode($license, ENT_COMPAT | ENT_HTML401, 'UTF-8'); + $license .= "\n"; header('content-type: text/plain; charset=UTF-8'); }