Skip to content

"Invalid Raw" error with special placeholder #3167

@vwong

Description

@vwong

Marko Version: 6.0.145

Details

On this template, (ie, with client state, and a placeholder containing ${), the compiler complains with the error message "Invalid raw"

<let/count=0>
<button onClick() { count++ }>
  ${count}
</button>

<input type="text" placeholder="foo ${ bar"/>

Removing client state (ie, deleting the <button>) is fine.

Reproduced in the playground

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:unverified bugA bug report that has not been verified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions