From d8b1ba67dd5bedcaf96d7c76546e3b917076b229 Mon Sep 17 00:00:00 2001 From: esensar Date: Tue, 31 May 2016 23:45:38 +0200 Subject: [PATCH] newline char --- gori.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gori.php b/gori.php index a7bb671..bfa7005 100644 --- a/gori.php +++ b/gori.php @@ -15,7 +15,7 @@ if(isset($_POST['vijest'])) { $vijestiFile = file_get_contents($openShiftFolder."vijesti.csv"); $vijest = $_POST['vijest']; - $vijest = str_replace("\n", "
", $vijest); + $vijest = str_replace("\n", "
", $vijest); if(strpos($vijest, ',') !== FALSE) { $vijest = str_replace('"', '""', $vijest); $vijest = '"'.$vijest.'"';