Browse Source

PHPDoc Markdown newlines before code blocks added.

tags/2.0.0-beta
resurtm 12 years ago
parent
commit
aa8fbd9651
  1. 2
      framework/yii/widgets/Spaceless.php

2
framework/yii/widgets/Spaceless.php

@ -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>

Loading…
Cancel
Save