preserve leading indentation in KDoc code blocks

#KT-9933 Fixed
This commit is contained in:
Dmitry Jemerov
2016-04-28 15:36:09 +02:00
parent 721629f8e0
commit d7b1526cd5
10 changed files with 93 additions and 58 deletions
@@ -3,7 +3,9 @@
*
* ```
* Code block
* Second line
* Second line
*
* Third line
* ```
*/
fun testMethod() {
@@ -20,5 +22,7 @@ fun test() {
//INFO: <b>public</b> <b>fun</b> testMethod(): Unit <i>defined in</i> root package<p>Some documentation.</p>
//INFO: <pre><code>
//INFO: Code block
//INFO: Second line
//INFO: Second line
//INFO:
//INFO: Third line
//INFO: </code><pre>