@@ -136,16 +136,16 @@ private function dumpPages(string $path, WriteInterface $varDirectory, ?array $i
136
136
$ pages = $ pagesList ->getItems ();
137
137
138
138
foreach ($ pages as $ page ) {
139
- $ identifier = str_replace ('/ ' , '| ' , trim ($ page ->getIdentifier ()));
139
+ $ identifier = str_replace ('/ ' , '--- ' , trim ($ page ->getIdentifier ()));
140
140
if (strpos ($ identifier , '.html ' ) !== false ) {
141
141
$ identifier = str_replace ('.html ' , '_html ' , $ identifier );
142
142
}
143
143
144
144
$ storeCodes = $ this ->getStoreCodes ($ page ->getStores ());
145
- $ htmlPath = $ path . $ identifier . '| ' . implode ('| ' , $ storeCodes ) . '.html ' ;
145
+ $ htmlPath = $ path . $ identifier . '--- ' . implode ('--- ' , $ storeCodes ) . '.html ' ;
146
146
$ pageContent = $ this ->replaceBlockIds ($ page ->getContent ());
147
147
$ this ->write ($ varDirectory , $ htmlPath , $ pageContent );
148
- $ jsonPath = $ path . $ identifier . '| ' . implode ('| ' , $ storeCodes ) . '.json ' ;
148
+ $ jsonPath = $ path . $ identifier . '--- ' . implode ('--- ' , $ storeCodes ) . '.json ' ;
149
149
$ jsonContent = [
150
150
'title ' => $ page ->getTitle (),
151
151
'is_active ' => $ page ->isActive (),
@@ -181,9 +181,9 @@ private function dumpBlocks(string $path, WriteInterface $varDirectory, ?array $
181
181
}
182
182
$ this ->blockIdentifiers [$ block ->getId ()] = $ block ->getIdentifier ();
183
183
$ storeCodes = $ this ->getStoreCodes ($ block ->getStores ());
184
- $ htmlPath = $ path . trim ($ block ->getIdentifier ()) . '| ' . implode ('| ' , $ storeCodes ) . '.html ' ;
184
+ $ htmlPath = $ path . trim ($ block ->getIdentifier ()) . '--- ' . implode ('--- ' , $ storeCodes ) . '.html ' ;
185
185
$ this ->write ($ varDirectory , $ htmlPath , $ block ->getContent ());
186
- $ jsonPath = $ path . trim ($ block ->getIdentifier ()) . '| ' . implode ('| ' , $ storeCodes ) . '.json ' ;
186
+ $ jsonPath = $ path . trim ($ block ->getIdentifier ()) . '--- ' . implode ('--- ' , $ storeCodes ) . '.json ' ;
187
187
$ jsonContent = [
188
188
'title ' => $ block ->getTitle (),
189
189
'identifier ' => $ block ->getIdentifier (),
0 commit comments