Skip to content

Audit the places where we call .html(something) #5034

@ellisonbg

Description

@ellisonbg

We need to go through our JS code and make sure that we never call jQuery's .html() method with unsafe content. Some of this work has been done in #4826

Whenever .html(something) appears in our code:

  • We should put an inline comment saying why it is allowed.

Other cases should be converted to calls of .text()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions