rabin 2 éve
szülő
commit
48aefc1e41
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      lib/Data.php

+ 2 - 2
lib/Data.php

@@ -185,8 +185,8 @@ class Data
                         }
                     }
                 }
-                if (strstr($v, "\r")) {
-                    $v = str_replace("\r", '<br />', $v);
+                if (strstr($v, "\n")) {
+                    $v = str_replace("\n", '<br />', $v);
                 }
 
                 if ($state == 1) {