Skip to content

Omit 'type=text/javascript' attribute in html script tag #1020

@sal-bock

Description

@sal-bock

Motivation:

Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type. The w3c validator will report warnings if we do so :-(

We should only provide the type attribute when necessary. e.g in ERXJavaScript a binding type="module", when the referenced file is a javascript module

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