mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #2307 remove hash character from TemplateStart/TemplateEnd debugging comment to prevent confusion with SSI directive
This commit is contained in:
parent
777a62af35
commit
9134433adf
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ class Template
|
|||
// Insert comments for debugging.
|
||||
if(Debug::isEnabledForCurrentUser() && \Context::getResponseMethod() === 'HTML' && !preg_match('/^<(?:\!DOCTYPE|\?xml)/', $content))
|
||||
{
|
||||
$meta = '<!--#Template%s:' . $this->relative_path . '-->' . "\n";
|
||||
$meta = '<!--Template%s:' . $this->relative_path . '-->' . "\n";
|
||||
$content = sprintf($meta, 'Start') . $content . sprintf($meta, 'End');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue