Skip to content

The delete match; in youtube.js is invalid in strict mode #13

@mattbasta

Description

@mattbasta

https://github.com/ecto/bleach/blob/master/filters/youtube.js#L10

This line of code is invalid in strict mode, which will prevent the library from being used with many JavaScript tools. It should be safe to just remove the delete statement.

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