Skip to content

Keep is broken #3

@GCheung55

Description

@GCheung55

I'm getting "Uncaught SlabError: Can't compile slab template. Unexpected identifier in the browser with the following code.

var str = '{slab test} \
{keep} \
{slab something} \
<script>var obj = {\'stuff\':\'things\'};</script> \
{endslab} \
{endkeep} \
{endslab}';

var template = Slab.compile(str);

console.log(template.test({}));

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