Fix problem with some link src for images and background, implemented encodeURIComponent for url link