Skip to content

Warning about missing </summary> #895

@arrmo

Description

@arrmo

Hi,

I am using the details element, and have it formatted like below (example) - need to do this to be able to format (heading style) the summary element, as

has to be the first child after
.

<details><summary><h4>1. Package / Updates Status</h4></summary></details>

But with this, tidy-html gives me the warning that,

line 17 column 10 - Warning: missing </summary> before <h4>
line 17 column 55 - Warning: discarding unexpected </summary>

And proceeds to remove /summary, as noted. But this breaks the details element 😞

Thoughts?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions