Oh, wow I didn't know that. Very useful! Seems to work with `"` as well.

And in this case, it's `"` that needs quoting (since it's used to wrap the expression). So:

`concat('&quot;',replace($title,'&quot;','&quot;&quot;','&quot;')`