Skip to content

Code review comments: HTML and inline css styles are not escaped  #2851

@scotthallock

Description

@scotthallock

Inline styles

A user can create comments that contain HTML elements and inline css styles:

Screenshot 2023-03-23 at 3 58 29 PM

Screenshot 2023-03-23 at 3 58 49 PM

<script>

A comment can include a <script> tag. However, initial tests show that the script will not run:

Screenshot 2023-03-23 at 4 18 17 PM

Screenshot 2023-03-23 at 4 18 37 PM

Expected behavior:

  • Should only standard markdown be supported for code review comments?
  • Should a user be allowed to create HTML elements and use inline styles?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions