Browse Source

added @continue

like @break - as of request issue #1001
Tobsn 12 years ago
parent
commit
34c746b4f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/blade.php

+ 1 - 1
laravel/blade.php

@@ -306,7 +306,7 @@ class Blade {
 	 */
 	 */
 	protected static function compile_structure_closings($value)
 	protected static function compile_structure_closings($value)
 	{
 	{
-		$pattern = '/@(endif|endforeach|endfor|endwhile|break)/';
+		$pattern = '/@(endif|endforeach|endfor|endwhile|break|continue)/';
 
 
 		return preg_replace($pattern, '<?php $1; ?>', $value);
 		return preg_replace($pattern, '<?php $1; ?>', $value);
 	}
 	}