rabin 2 years ago
parent
commit
59978ca5f5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lib/Data.php

+ 3 - 0
lib/Data.php

@@ -185,6 +185,9 @@ class Data
                         }
                     }
                 }
+                if (strstr($v, "\n")) {
+                    $v = str_replace("\n", '<br />', $v);
+                }
 
                 if ($state == 1) {
                     if (strstr($v, 'jpg') || strstr($v, 'png') || strstr($v, 'gif')) {