BorisMoore/jsrender — Issue #68: Cannot render plain text template
Author: sarxos
Created: 2012-01-26 15:34:38+00:00
State: open

I'm trying to render clean text template and I'm getting empty string as the output. The problem appears when template string does not contain HTML markups. This is what I get in Firebug:

>>> $.render({test: 'xxx'}, "boo[foo='222'][gaa={{=test!}}]")
"boo[foo='222'][gaa=xxx]"
>>> $.render({test: 'xxx'}, "boo[foo='222'][gaa={{=test!}}]")
""