Handle cases where template contains delimiter.