support replacing [refid][] syntax link content with alternate content