Closed mattstratton closed 7 years ago
This problem has nothing to do with the order. It like that src
don't match for /^((?:(?:http|https):\/\/)?(?:.+))(\.(?:gif|png|jpg|jpeg|webp|svg))$/
. Now you can update the modules at 0.0.4, try it.
This seems to be working now. Thanks!
Due to using this in a static site generator, where I don't always have full control of the
img
tags, if a tag exists that doesn't start with<img src = "..." alt = "..." ...>
, it bails because it doesn't like the second part of the index.The error is
I'll see if I can hack on this and submit a PR.