Fixed LinkToContent URL trimming to remove spaces around the URL