Escape HTML response before searching for URLs in document