Make img src urls safe if safe_links_only is enabled