jade-php
jade-php copied to clipboard
Closed tags
Whether really closed directives are required?
For example: Instead of this:
- if ($test == 0):
p Test zero
- elseif ($test == 1):
p Test one
- else:
p Other test
- endif;
use:
- if ($test == 0):
p Test zero
- elseif ($test == 1):
p Test one
- else:
p Other test
Instead of this:
ul
- foreach ($this->list as $list):
li!= $list
- endforeach
use:
ul
- foreach ($this->list as $list):
li!= $list