unable to escape htl expression
Open
bug
- Dominant language
- HTML
- Stars
- 49
- Forks
- 20
- Avg merge
- 3h 46m
- Merged PRs (30d)
- 1
Description
the spec states:
> Like in JSP (see section "1.2.2 Literal-expression" from the JSP 2.1 Expression Language Specification), to escape an expression (the `${)`, it can be prefixed it with a backslash `\${)`).
but this doesn't work:
```
${"
\${currentNode.path}
" @ context = "text"}
```
gives:
```
TypeError: Cannot destructure property `plugin` of 'undefined' or 'null'.
```
workaround: use unicode escape:
```
${"
\u0024{currentNode.path\u007d
" @ context = "text"}
```
Contributor guide
Assessment
This issue has not been assessed yet.