display fields, tpl and formats

display fields, tpl and formats

I am trying to format a value in a display field to be a clickable telephone number. it all seems to work fine the very first time this form is displayed.
But when a new model is loaded and the form redisplays all of my anchor tags and icons just disappear and the phone number is just displayed as a plain old number.