ericf / express-handlebars

A Handlebars view engine for Express which doesn't suck.
BSD 3-Clause "New" or "Revised" License
2.32k stars 382 forks source link

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

Open pietrofxq opened 6 years ago

pietrofxq commented 6 years ago

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?