Skip to content

Void Elements are being modified with a closing </div> #161

@realmsoft

Description

@realmsoft

Whenever I write something that would normally be a void element inside a <HeaderCell>, the library seems to convert it to an open element with a closing </div> tag.
For example:

<img src='abc'/> becomes <img src='abc'></div>
<br/> becomes <br></div>

Even when I do this with a <img src=''></img> it does the same thing.

Even more odd, when I do multiple:

<img src='abc'/>
<img src='def'/>

It becomes:

<img src='abc'>
<img src='def'>
</div>
</div>

I don't seem to be able to find anything in the docs on how to get these element types working. If I use other nested elements such as a <div> or <p> everything inside is working just fine.

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