Skip to content

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

@nlundquist

Description

@nlundquist

When using a .component based file, tag strings are being stripped out of the JavaScript within the <view-model> 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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions