From 9d4e28e758d200a47054fcce3c3ad822fdc798a0 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 28 Sep 2021 00:44:16 +0200 Subject: [PATCH] add newlines to dcstore.xml file --- inc/class.tweakstores.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class.tweakstores.php b/inc/class.tweakstores.php index cceafc7..f716d74 100644 --- a/inc/class.tweakstores.php +++ b/inc/class.tweakstores.php @@ -196,7 +196,7 @@ class tweakStores return false; } try { - files::putContent($module['root'] . '/dcstore.xml', $content); + files::putContent($module['root'] . '/dcstore.xml', str_replace('><', ">\n<", $content)); } catch(Exception $e) { self::$failed[] = $e->getMessage(); return false;