freeze-dry icon indicating copy to clipboard operation
freeze-dry copied to clipboard

Parse <img srcset="..."> attribute properly

Open Treora opened this issue 6 years ago • 0 comments

We currently split by comma, but that is a too simplistic approach. Especially as we use data URLs ourselves, which always contain a comma, we shoot ourselves in the foot when snapshotting a snapshot (related: #13).

The better parsing algorithm has been spec'd by whatwg, and implemented by albell.

We could try fix the srcset npm package while at it (see issue).

Treora avatar Jul 23 '18 12:07 Treora