mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix incorrect handling of newline in TemplateHandler
This commit is contained in:
parent
5b5010a401
commit
7a62550c30
1 changed files with 0 additions and 2 deletions
|
|
@ -330,11 +330,9 @@ class TemplateHandler
|
|||
$buff = preg_replace([
|
||||
'/>\<\?php } \?\>\n[\t\x20]*?(?=\n<!--)/',
|
||||
'/\n[\t\x20]*?(?=\n<!--)/',
|
||||
'/\n[\t\x20]*?(?=\n)/',
|
||||
'/\n[\t\x20]+?\<\?php/',
|
||||
], [
|
||||
"><?php } ?>\n<?php echo \"\\n\"; ?>",
|
||||
"\n",
|
||||
"\n<?php ?>",
|
||||
"\n<?php",
|
||||
], $buff);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue