edwindj / whisker

{{mustache}} for R

Home Page:https://mustache.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'>' in replacement

michelk opened this issue · comments

How can I get that work?

R> dd = list(a = '>> blim')
R> tt = "{{a}} blam blum"
R> whisker.render(tt,dd)
### [1] ">> blim blam blum"

I want

">> blim blam blum"

Thanks, Michel

Dear Michel,

Responding from my holiday :-)

Since whisker and mustache generate html, special html characters are
escaped by default. You can use triple { to disable html escaping.

Thus '{{{a}}} blam blum' should do the trick.

Best,

Edwin
Op 24 jul. 2013 12:58 schreef "Michel Kuhlmann" notifications@github.com
het volgende:

How can I get that work?

R> dd = list(a = '>> blim')
R> tt = "{{a}} blam blum"
R> whisker.render(tt,dd)

[1] ">> blim blam blum"

I want

">> blim blam blum"

Thanks, Michel


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

Hi Edwin, ok, thanks a lot.