Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Forum Helpers List: Escape < and > in user bios rather than removing them #332

@penguinmoose

Description

@penguinmoose

Describe the changes needed
I think it would be better to escape < and > in user bios instead of simply removing them. That way, people can insert < and > without them being removed and still not interfering with the webpage.

Also, this is the standard way of handling special characters (by escaping them).

< can be replaced with &lt to escape
> can be replaced with &gt to escape

Additional context
When updating a user’s bio through that user’s dashboard, < and > will be removed in the user’s bio so that they don’t actually become tags when displayed on the webpage. I think it would be better to escape them instead.

Metadata

Metadata

Assignees

Labels

priority: lowA low priority bug or change.status: needs-discussiontype: Forum Helpers ListThis PR/Issue relates to the list of Forum Helpers (add, promote, remove, reorder, etc. users)type: dashboardIssue related to TFH Dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions