Skip to content

Handlebars parser is not handling JSON data correctly #428

@wardkj

Description

@wardkj

Hi,

the hanlebars parser doesn't like JSON that ends in two braces.

If, say, we pass in a template like

<template requires=""><button someAttr="{&quot;one&quot;: &quot;value&quot;,&quot;two&quot;: {&quot;inner&quot;: &quot;value&quot;}}"></button></template>

once its parsed, the final }} are missing from the attribute value

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions