Skip to content

Self Closing script tags don't (universally?) work #57

@infinityplusb

Description

@infinityplusb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions