jade-php icon indicating copy to clipboard operation
jade-php copied to clipboard

Closed tags

Open mars-abd opened this issue 7 years ago • 0 comments

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

mars-abd avatar Mar 09 '17 08:03 mars-abd