express-handlebars icon indicating copy to clipboard operation
express-handlebars copied to clipboard

Handlebars doesn't compile with a src attribute starting with "//"

Open pietrofxq opened this issue 8 years ago • 0 comments

I'm trying to include this script in my handlebars template:

<script src="//localhost:35729/livereload.js"></script>

It does not work (my local server just hangs) - but if I remove the two slashes or leave only one it works. Do i need to escape something here?

pietrofxq avatar Oct 03 '17 20:10 pietrofxq