template <- "Hello {{place}}!"
place <- "World"
whisker.render(template)
# to prevent html escaping use triple {{{}}}
template <-
"I'm escaped: {{name}}
And I'm not: {{{name}}}"
data <- list( name = '')
whisker.render(template, data)
# I'm escaped: <My Name="Nescio&">
# And I'm not:
Run the code above in your browser using DataLab