@@ -136,16 +136,16 @@ private function dumpPages(string $path, WriteInterface $varDirectory, ?array $i
136136 $ pages = $ pagesList ->getItems ();
137137
138138 foreach ($ pages as $ page ) {
139- $ identifier = str_replace ('/ ' , '| ' , trim ($ page ->getIdentifier ()));
139+ $ identifier = str_replace ('/ ' , '--- ' , trim ($ page ->getIdentifier ()));
140140 if (strpos ($ identifier , '.html ' ) !== false ) {
141141 $ identifier = str_replace ('.html ' , '_html ' , $ identifier );
142142 }
143143
144144 $ storeCodes = $ this ->getStoreCodes ($ page ->getStores ());
145- $ htmlPath = $ path . $ identifier . '| ' . implode ('| ' , $ storeCodes ) . '.html ' ;
145+ $ htmlPath = $ path . $ identifier . '--- ' . implode ('--- ' , $ storeCodes ) . '.html ' ;
146146 $ pageContent = $ this ->replaceBlockIds ($ page ->getContent ());
147147 $ this ->write ($ varDirectory , $ htmlPath , $ pageContent );
148- $ jsonPath = $ path . $ identifier . '| ' . implode ('| ' , $ storeCodes ) . '.json ' ;
148+ $ jsonPath = $ path . $ identifier . '--- ' . implode ('--- ' , $ storeCodes ) . '.json ' ;
149149 $ jsonContent = [
150150 'title ' => $ page ->getTitle (),
151151 'is_active ' => $ page ->isActive (),
@@ -181,9 +181,9 @@ private function dumpBlocks(string $path, WriteInterface $varDirectory, ?array $
181181 }
182182 $ this ->blockIdentifiers [$ block ->getId ()] = $ block ->getIdentifier ();
183183 $ storeCodes = $ this ->getStoreCodes ($ block ->getStores ());
184- $ htmlPath = $ path . trim ($ block ->getIdentifier ()) . '| ' . implode ('| ' , $ storeCodes ) . '.html ' ;
184+ $ htmlPath = $ path . trim ($ block ->getIdentifier ()) . '--- ' . implode ('--- ' , $ storeCodes ) . '.html ' ;
185185 $ this ->write ($ varDirectory , $ htmlPath , $ block ->getContent ());
186- $ jsonPath = $ path . trim ($ block ->getIdentifier ()) . '| ' . implode ('| ' , $ storeCodes ) . '.json ' ;
186+ $ jsonPath = $ path . trim ($ block ->getIdentifier ()) . '--- ' . implode ('--- ' , $ storeCodes ) . '.json ' ;
187187 $ jsonContent = [
188188 'title ' => $ block ->getTitle (),
189189 'identifier ' => $ block ->getIdentifier (),
0 commit comments