Open
Description
The schema-relative or protocol relative URLs are common while porting old sites to Eleventy.
<img
alt="A head of a tiger"
src="//upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg"
>
Presently, when using such URL, new Image()
gives the error:
Error: ENOENT: no such file or directory, stat '//upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg'
Is adding support for schema-relative URLs useful for our users?