Compute variable expressions in mustache templates: what should we get?
Compute variable expressions in mustache templates: what should we get? Question: Given these hash and Mustache template: Hash: { ‘a’: 3 } Template: "This is a+2: {{a+2}}" Ruby and Python give me different outputs: In ruby, I get: /usr/lib/ruby/gems/3.0.0/gems/mustache-1.1.1/lib/mustache/parser.rb:286:in `error’: Unclosed tag (Mustache::Parser::SyntaxError) Line 1 {{a+2}} In python, just empty string Who is right? What …