WOBS-3528: Adds function to wrap variables in a tag