replace base64 href with blob url to prevent chrome crash issue