meteor-messageformat icon indicating copy to clipboard operation
meteor-messageformat copied to clipboard

Auto extract issue

Open txs opened this issue 8 years ago • 1 comments

Exception in template helper: Expected "\\#", "\\u", "\\{", "\\}", "{", [^{}\\\0-\x1F \t\n\r], end of input or whitespace but "\\" found.

The mf will auto extract on save. But when I refresh the page and it shows this with the dynamic value like {{mf 'keyname' 'keytext' VAR1=TemplateVar VAR2=etc}} mf('hello_name', { name: var }, 'Hello {name}');

Helo me to fix this

txs avatar Apr 29 '16 17:04 txs

Thanks, @txs. Can you paste the the full template where this error is occurring? Hopefully that will be enough for me to figure out what's going on, otherwise I might need a reproduction. It looks like Blaze is getting confused by some foreign-language characters (can your own template helpers handle the same arguments?) but I can't be completely sure without seeing more.

gadicc avatar May 03 '16 10:05 gadicc