Skip to content

<details> sections not handled in markdown documents - closing </details> tags moved immediately after opening tag. #151

@BJReplay

Description

@BJReplay

As the title says, <details> sections are not handled in markdown documents - the closing </details> tags are moved to the line immediately after opening tag. This leaves the contents (that are supposed to be hidden behind the details heading) exposed.

This makes translating (or even updating) any document that makes use of collapsible sections problematic.

See BJReplay/ha-solcast-solar#445 as an example, and specifically BJReplay/ha-solcast-solar@d1e3fed as the manual commit to fix the issue.

BJReplay/ha-solcast-solar@3bc8abd is the original GitLocalize commit that includes the translation, that also moves the closing </details> tag immediately below the opening <details> tag for every collapsible section in the .md document.

This was an already translated (and already fixed document). The additional translation was minor, did not impact any of the collapsible sections, yet the details tags were all corrupted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions