Made blade echo match lazy.
This commit is contained in:
parent
285a744fac
commit
1d8dcd1246
|
@ -23,7 +23,7 @@ public static function compile($path)
|
|||
*/
|
||||
protected static function echos($value)
|
||||
{
|
||||
return preg_replace('/\{\{(.+)\}\}/', '<?php echo $1; ?>', $value);
|
||||
return preg_replace('/\{\{(.+?)\}\}/', '<?php echo $1; ?>', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue