donejs / donejs/done-component

tags being stripped out of strings in the <view-model>

Open
#72 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When using a `.component` based file, tag strings are being stripped out of the JavaScript within the `` section.

For example a component that appends an `h1` tag to an element will end up only appending the contents of the `h1`, since the tag itself has been removed from the loaded JS. Looking at the loaded JS (`/test-parent.component.view-model!eval` in the example) you can see the tag is missing.

see the code at: https://glitch.com/edit/#!/tender-alligator
& the running example at: https://tender-alligator.glitch.me/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.