From 64058c4c231993d815724d936acddeb0e019bde3 Mon Sep 17 00:00:00 2001 From: Jeroen Derks Date: Tue, 6 Jul 2021 17:05:28 +0200 Subject: [PATCH] Changed function prettifyArray() to not left-trim database content For my use case I'm storing YAML data in the database, so trimming it will invalidate the YAML data. --- src/Orangehill/Iseed/Iseed.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Orangehill/Iseed/Iseed.php b/src/Orangehill/Iseed/Iseed.php index 20e5c8e..c39e532 100644 --- a/src/Orangehill/Iseed/Iseed.php +++ b/src/Orangehill/Iseed/Iseed.php @@ -310,8 +310,6 @@ protected function prettifyArray($array, $indexed = true) $inString = false; $tabCount = 3; for ($i = 1; $i < count($lines); $i++) { - $lines[$i] = ltrim($lines[$i]); - //Check for closing bracket if (strpos($lines[$i], ')') !== false) { $tabCount--;