Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Crisper ignores crossorigin attribute on script tag #48

@vdonich

Description

@vdonich

Running crisper --source file.html --html c.html --js c.js over a file that contains script with crossorigin attribute produces html code without crossorigin attribute.

Source:

<html>
  <body>
    <script crossorigin="anonymous">
      (function() {
          'use strict';
          console.log('foo');
      });
    </script>
  </body>
</html>

Resulting html:

<html><head><script src="c.js" defer=""></script>
    <meta charset="UTF-8">

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