like @break - as of request issue #1001
@@ -306,7 +306,7 @@ class Blade {
*/
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);
}