|
|
@ -14,6 +14,7 @@ use yii\base\Widget; |
|
|
|
* or in a plain text are always left untouched. |
|
|
|
* or in a plain text are always left untouched. |
|
|
|
* |
|
|
|
* |
|
|
|
* Usage example: |
|
|
|
* Usage example: |
|
|
|
|
|
|
|
* |
|
|
|
* ```php |
|
|
|
* ```php |
|
|
|
* <body> |
|
|
|
* <body> |
|
|
|
* <?php Spaceless::begin(); ?> |
|
|
|
* <?php Spaceless::begin(); ?> |
|
|
@ -28,6 +29,7 @@ use yii\base\Widget; |
|
|
|
* ``` |
|
|
|
* ``` |
|
|
|
* |
|
|
|
* |
|
|
|
* This example will generate the following HTML: |
|
|
|
* This example will generate the following HTML: |
|
|
|
|
|
|
|
* |
|
|
|
* ```html |
|
|
|
* ```html |
|
|
|
* <body> |
|
|
|
* <body> |
|
|
|
* <div class="navbar"><!-- other tags --></div><div class="content"><!-- other tags --></div></body> |
|
|
|
* <div class="navbar"><!-- other tags --></div><div class="content"><!-- other tags --></div></body> |
|
|
|