strReplace not working

Hi Sugar Support,

I have a use case where the end user wants to display comments in single line as it does in the quotes module in a doc merge template. I assumed that strReplace function would work in that instance.

I have inserted this:

strReplace("-", "", $description, false)

However this is not working in the result merged document.