Skip to content

Remove the type attribute #288

@joashrajin

Description

@joashrajin

We currently have <script type='text/javascript'> but this type attribute is not needed, and the validator warns about it.

In HTML5, the type attribute for the <script> tag is not required and defaults to text/javascript. Including it is unnecessary, unless we want to ensure backwards compatibility

Steps to Reproduce

  1. Add inline code
  2. Notice it adds <script type='text/javascript'>
  3. Notice validation error due to type

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions