Closed wahani closed 5 years ago
We would expect:
as.character(tmplUpdate(tmpl("{{ test }} \\\\"), test = "\\\\")) [1] "\\\\ \\\\" > as.character(tmplUpdate(tmpl("{{ test }} \\\\"), test = "\n")) [1] "\n \\\\" > as.character(tmplUpdate(tmpl("{{ test }} \\\\"), test = "\\n")) [1] "\\n \\\\"
But we get
as.character(tmplUpdate(tmpl("{{ test }} \\\\"), test = "\\\\")) [1] "\\ \\\\" > as.character(tmplUpdate(tmpl("{{ test }} \\\\"), test = "\n")) [1] " \\\\" > as.character(tmplUpdate(tmpl("{{ test }} \\\\"), test = "\\n")) [1] "n \\\\"
We would expect:
But we get