Subexpressions don't work as expected
See original GitHub issueThis is a follow up on #55 but might not directly be related.
Using sub-expressions like {{encode (url)}}
(as in https://github.com/halfdan/hbs-weird/) where the url helper returns a URL and encode executes encodeURIComponent the expression is replaced by only the result of the url helper. Using {{encode "http://foo.bar/?baz=muh"}}
on its own seems to work just fine.
Example case in https://github.com/halfdan/hbs-weird/
Issue Analytics
- State:
- Created 10 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Sed subexpressions not working as expected - Stack Overflow
2 Answers 2 ... That's because the regex doesn't match. Since you're not surrounding your sed expression in quotes, you have to double-escape ......
Read more >Do subExpressions work as I think they do - DHIS2 Community
Hi all, We have a dataset called “MDA LF” and it has a data element called “Endemicity” which can accept integer values from...
Read more >[expressions] subexpressions can't access variables of main ...
there is a bug in expressions preventing us to access main expressions variables in a subexpression this will not work as expected: ....
Read more >Handlebars subexpression in framework7 seems not to be ...
It seems that handlebars subexpression in framework7 are not working, and throw this error… handlebars expressions works just fine but a ...
Read more >V502. The '?:' operator may not work as expected. The '?:'
The analyzer found a code fragment that most probably has a logic error. The program text has an expression that contains the ternary...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mgutz have you had any chance to look at promised-handlebars yet?
This is fixed now with my latest merge.