How to escape '_' inside a soy template?

63 views
Skip to first unread message

Nick Yao

unread,
Aug 4, 2015, 5:24:39 PM8/4/15
to Closure Templates Discuss
Hi, guys

Anybody knows how to do that? The character '_'(or underscore) apparently is a special one to closure template itself, so it failed to compile the soy file if that contained... 

I tried to use {literal} but didn't help... Need some help here, many thanks.

Luke Sandberg

unread,
Aug 4, 2015, 5:59:09 PM8/4/15
to Closure Templates Discuss
can you post the full error? (and the template that triggered it) im not sure what you are seeing
--

---
You received this message because you are subscribed to the Google Groups "Closure Templates Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-templates-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages