Allow shr to use data: URLs without encoding
commit66396972ed5273516a77589c350f6ce9becd8d9f
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 3 Dec 2017 22:46:52 +0000 (3 23:46 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 3 Dec 2017 22:47:42 +0000 (3 23:47 +0100)
tree9cd186493c9faf69ea854fbde7175c4900c2eec7
parente4f2061ebc61168f23c0d9440221cbc99864deae
Allow shr to use data: URLs without encoding

* lisp/net/shr.el (shr-image-from-data): Don't bug out on
image data: URLs that have no base64 encoding like
(shr-image-from-data
"text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E").
lisp/net/shr.el