Browse Source

Made blade echo match lazy.

Taylor Otwell 13 years ago
parent
commit
1d8dcd1246
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/blade.php

+ 1 - 1
laravel/blade.php

@@ -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);
 	}
 
 	/**