I think we can just do `${link1URL}` and `${link1}` and set and escape these in the template, similar to the activity. That reduces the amount of business logic in the templates. I'll make this change.