mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Added whitespace after <!-- end include to be consistent
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@68029 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fab4b92e06
commit
401a6b8e70
@ -383,9 +383,9 @@ class SSViewer extends Object {
|
||||
$oldContent = $content;
|
||||
|
||||
// Add include filename comments on dev sites
|
||||
if(Director::isDev() && self::$source_file_comments) $replacementCode = 'return "<!-- include " . SSViewer::getTemplateFile($matches[1]) . "-->\n"
|
||||
if(Director::isDev() && self::$source_file_comments) $replacementCode = 'return "<!-- include " . SSViewer::getTemplateFile($matches[1]) . " -->\n"
|
||||
. SSViewer::getTemplateContent($matches[1])
|
||||
. "\n<!-- end include " . SSViewer::getTemplateFile($matches[1]) . "-->";';
|
||||
. "\n<!-- end include " . SSViewer::getTemplateFile($matches[1]) . " -->";';
|
||||
else $replacementCode = 'return SSViewer::getTemplateContent($matches[1]);';
|
||||
|
||||
$content = preg_replace_callback('/<' . '% include +([A-Za-z0-9_]+) +%' . '>/', create_function(
|
||||
|
Loading…
Reference in New Issue
Block a user