Could not process template Error Message

Alondra Expensify Customer Posts: 1

I am trying to use the replace built-in call for the template, as I have seen others use it but every time I try to implement it, it gives me an error saying it could not process the template. This is the following field that I am trying to implement the replace call. Is it missing anything else?

${expense.comment?replace("<", "&lt;")}