add newlines to dcstore.xml file

master
Jean-Christian Paul Denis 2021-09-28 00:44:16 +02:00
parent efc53d8c84
commit 9d4e28e758
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -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;