Skip to content

Avoid using innerHTML if possible #1

@kewisch

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.

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