Skip to content

Remove empty spans/tags in HTML #3344

@atyrin

Description

@atyrin

In some cases, Dokka may generate some empty tag (e.g. <span></span>). Usually, it depends on the presence/absence of some code constructions in user input.

One area of improvement is toSignatureString, which produces an empty string for a missed element. That could be converted to null.
The previous step is #3343

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn issue for a feature or an overall improvementformat: htmlAn issue/PR related to Dokka's default HTML output formattech-debtA technical issue that is not observable by the users, but improves maintainers quality of life

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions