File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -243,9 +243,8 @@ protected function generatePatterns($options = array()) {
243
243
244
244
// modify the pattern mark-up
245
245
$ markup = $ patternStoreData ["code " ];
246
- $ markupEncoded = htmlentities ($ markup ,ENT_COMPAT ,"UTF-8 " );
247
246
$ markupFull = $ patternStoreData ["header " ].$ markup .$ patternStoreData ["footer " ];
248
- $ markupEngine = htmlentities ( file_get_contents ($ patternSourceDir ."/ " .$ pathName .". " .$ patternExtension), ENT_COMPAT , " UTF-8 " );
247
+ $ markupEngine = file_get_contents ($ patternSourceDir ."/ " .$ pathName .". " .$ patternExtension );
249
248
250
249
// if the pattern directory doesn't exist create it
251
250
if (!is_dir ($ patternPublicDir ."/ " .$ path )) {
@@ -255,7 +254,7 @@ protected function generatePatterns($options = array()) {
255
254
// write out the various pattern files
256
255
file_put_contents ($ patternPublicDir ."/ " .$ path ."/ " .$ path .".html " ,$ markupFull );
257
256
if (!$ exportFiles ) {
258
- file_put_contents ($ patternPublicDir ."/ " .$ path ."/ " .$ path .".escaped .html " ,$ markupEncoded );
257
+ file_put_contents ($ patternPublicDir ."/ " .$ path ."/ " .$ path .".markup-only .html " ,$ markup );
259
258
file_put_contents ($ patternPublicDir ."/ " .$ path ."/ " .$ path .". " .$ patternExtension ,$ markupEngine );
260
259
}
261
260
/*
You can’t perform that action at this time.
0 commit comments