dokka icon indicating copy to clipboard operation
dokka copied to clipboard

When the <br> tag is applied to the summary description, a space occurs on the next line.

Open kjt0429 opened this issue 1 year ago • 2 comments

Describe the bug When the br-tag is applied to the summary description, a space occurs on the next line.

Expected behaviour When the br-tag is applied to the summary description, a space not occurs on the next line.

Screenshots If applicable, add screenshots to help explain your problem

스크린샷 2022-08-09 오후 12 55 51 (You will see a blank space in front of the red box.)

To Reproduce Steps to reproduce the behavior, ideally with an example project


/**
 * AAAAA<br>
 * BBBBB
 *
 * CCCC
 */
class A {
}

i expected blew

AAAAA
BBBBB

but showing

AAAAA
 BBBBB

Dokka configuration

  • default

Installation

  • Operating system: macOS
  • Build tool: Gradle v6.6.0
  • Dokka version: 1.7.10

Additional context Add any other context about the problem here

Are you willing to provide a PR? Providing a PR can drastically speed up the process of fixing this bug

kjt0429 avatar Aug 09 '22 03:08 kjt0429

Hi! Unable to reproduce it from your example, there's no additional space. Could you try replicating this on your end once again, or provide more details?

/**
 * AAAAA<br>
 * BBBBB
 *
 * CCCC
 */
class A {
}

2022-08-09_12-35-12 2022-08-09_12-35-19

IgnatBeresnev avatar Aug 09 '22 10:08 IgnatBeresnev

There are no issues in the text. This happens only in the summary description of the head page, such as the dokka/index.html page. If it really doesn't work, I'll add a sample project.

kjt0429 avatar Aug 11 '22 07:08 kjt0429