tnorbye / kdoc-formatter

Reformats Kotlin KDoc comments, reflowing text and other cleanup, both via IDE plugin and command line utility
Apache License 2.0
73 stars 2 forks source link

Paragraph + list (stability), variation 2 #69

Closed davidtorosyan closed 2 years ago

davidtorosyan commented 2 years ago

Another edge case of #63, almost the same but a little different.

Before:

/**
 * Some title
 *
 * <p>1. Test
 * 2. Test
 */
fun foo() = Unit

After:

/**
 * Some title
 *
 * 1. Test
 * 2. Test
 */
fun foo() = Unit

After again:

/**
 * Some title
 * 1. Test
 * 2. Test
 */
fun foo() = Unit

Using v1.5.4 with default options.

tnorbye commented 2 years ago

Fixed in 1.5.5