Virtual directory support incorrectly prepends the virtual directory to protocol relative URLs
To Reproduce
- I created my site with:
pretzel create --t=razor --withproject
- Then I baked it:
pretzel bake --cleantarget --t=razor --destination=docs --vDir=somesite.github.io
This produces <link rel="stylesheet" href="/somesite.github.io//cdn.jsdelivr.net/highlight.js/8.4/styles/default.min.css" />
Expected behavior
I would expect the virtual directory option to ignore protocol-relative URLs.
Desktop (please complete the following information):
- OS: Win 10
- Version 1903 (OS Build 18362.592)