Closed motleydev closed 6 years ago
Found the issue, I think it's slightly unclear in the docs, but if you want to pass options to the template()
function you need to pass null as the first parameter, which will, in turn, take the data passed into it, not actually null.
I'm trying to pass an interpolate regex to the options, but can't seem to get it to work.
I want to find examples of
[test]
and replace it with my string.