question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compilation of mustaches in mustaches expression doesn't work

See original GitHub issue

Version

2.5.16

Reproduction link

https://jsfiddle.net/9bzw21no/33/

Steps to reproduce

  1. Use a string literal containing }} in the data binding
{{ 'hello}}' + '{{world' }}

What is expected?

hello}}{{world

What is actually happening?

hello)+""+_s(world


I expected the same result as svelte.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
fnlctrlcommented, Apr 9, 2018

Please don’t open duplicate issues. It’s not an obligation for framework X to support the same behavior as framework Y.

1reaction
xmetacommented, Apr 9, 2018

@posva thank you

but I’m very disappointed

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Ultimate Mustache Tutorial - tsmean
Learning Mustache can be a bit confusing at first. This tutorial will help you understand Mustache from the ground up.
Read more >
Introduction to Mustache - Baeldung
Learn how to use Mustache, a logicless template engine for creating dynamic HTML pages, configuration files, etc.
Read more >
What is {{.}} in mustache? - Stack Overflow
In Mustache, {{.}} is a special tag referring to the value at the top of the context stack. If you're looping through an...
Read more >
mustache.js - Logic-less {{mustache}} templates with JavaScript
It works by expanding tags in a template using values provided in a hash or object. We call it "logic-less" because there are...
Read more >
Logic-less templates. - mustache(5)
Mustache can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found