Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12578] @ sign is shown as @ when viewing essay question submission page #13142

Merged
merged 4 commits into from
Jul 7, 2024

Conversation

Respirayson
Copy link
Contributor

@Respirayson Respirayson commented Jul 4, 2024

Fixes #12578

Outline of Solution

Added a new method to decode the HTML entities using innerHTML before displaying it as text content.

Before

Untitled.video.-.Made.with.Clipchamp.2.mp4

After

Untitled.video.-.Made.with.Clipchamp.3.mp4

@damithc
Copy link
Contributor

damithc commented Jul 5, 2024

@Respirayson Also give before-and-after screenshots to show the problem has been fixed.

@mingyuanc
Copy link
Contributor

@Respirayson great work, Looks good to me! Thanks for providing the before and after! Could I trouble you to add some unit tests for this? After that we should be able to merge it in

Copy link
Contributor

@mingyuanc mingyuanc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mingyuanc mingyuanc merged commit 836f637 into TEAMMATES:master Jul 7, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@ sign is shown as @ when viewing essay question submission page
4 participants