Skip to content

Sacy excludes script-tags with empty content #27

@felixlindstrom

Description

@felixlindstrom

Sacy fails to distinguish script-tags as src-based if there's any type of content in between the opening and closing tag.

The result is that the tag will be excluded all together.

The following code would be excluded, as there's a new-line character after the opening-tag:

<script type="text/javascript" src="http://example.com/test.js">
</script>

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