Skip to content

Script without body generates wrong html #474

@niklaswimmer

Description

@niklaswimmer

Hey, I tried to include script src="main.js; in my template's head which expands to <script src="main.js">. This is however wrong as script tags always need to be closed. The solution is to use script src="main.js" {} in the template instead. Maybe this can be improved by special casing the generation of script tags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions