Skip to content

Avoid using innerHTML if possible #1

Description

@kewisch

css2js sets the text content of the style tags using innerHTML. There are a lot of Firefox add-on authors using css2js, and reviewers need to look through the minified css string each time to verify that there are no script tags or other negative side-effects.

Would it be possible to avoid innerHTML, e.g. by using .textContent or other properties instead? This would avoid the validator warning and make life easier for reviewers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions