diet-ng
diet-ng copied to clipboard
Self Closing script tags don't (universally?) work
Using a tag in a template like so:
script(src='Leaflet/leaflet.js')
is generating html like:
<script src="Leaflet/leaflet.js"/>
instead of
<script src="./Leaflet/leaflet.js"> </script>
This is apparently a "known" issue. Also, the spec for Jade states that using the script tag should generate opening and closing tags.
Is there a way to force the generation of the closing tag?
Doing something like:
script(src='Leaflet/leaflet.js')
|
is a workaround.
I think this is fixed, it doesn't seem to happen any more?