Commit 1d8dcd12 by Taylor Otwell

Made blade echo match lazy.

parent 285a744f
......@@ -23,7 +23,7 @@ class Blade {
*/
protected static function echos($value)
{
return preg_replace('/\{\{(.+)\}\}/', '<?php echo $1; ?>', $value);
return preg_replace('/\{\{(.+?)\}\}/', '<?php echo $1; ?>', $value);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment