Skip to content

Template has Additional DIV wrapped, why? #101

@ghost

Description

Each inserted populated template is wrapped by two layers of div

for example, I have template like this:

<script type="text/html" id="items"> <a data-href="id" data-format="myUrl" data-format-target="href"> <h4 data-content="title"></h4> <p class="ping" data-content="content"></p> </a> </script>

after I inserted it into the DOM, they look like as below,

`

`

Who can tell me the reason?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions