Made blade echo match lazy.

This commit is contained in:
Taylor Otwell 2011-11-07 14:33:25 -06:00
parent 285a744fac
commit 1d8dcd1246
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public static function compile($path)
*/ */
protected static function echos($value) protected static function echos($value)
{ {
return preg_replace('/\{\{(.+)\}\}/', '<?php echo $1; ?>', $value); return preg_replace('/\{\{(.+?)\}\}/', '<?php echo $1; ?>', $value);
} }
/** /**