Allow shr to use data: URLs without encoding
commit4b06af0643d14b4e989a9360444b6ee0768ae99a
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:49:56 +0000 (3 23:49 +0100)
tree71a91f3feceb40c6e0e1e92882d024ebcf84ed63
parent1fdac2d65c7134a2e1261bf7ad32d275f37da0dc
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