Commit 34c746b4 by Tobsn

added @continue

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