Hello,
I have a json object which contains fields with whitespace in their names
(e.g. { "My Name" : "Bob" } ).
I'm trying to render those using dust templates, like this:
<span>{'My Name'}</span>
However this does not render the field (whatever is enclosed in single
quotes gets rendered).
I tried other approaches:
<span>{My Name}</span>
<span>{"My Name"}</span>
But those didn't work either.
I'd appreciate any help in this matter, I couldn't find any info online.
Thanks,
M
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/d9caad1d-582f-4726-9a1f-56440845da46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.