Skip to content

fix: resolve 3 bugs in arnio - #3297

Open
saurabhhhcodes wants to merge 1 commit into
im-anishraj:mainfrom
saurabhhhcodes:fix/arnio-36933
Open

fix: resolve 3 bugs in arnio#3297
saurabhhhcodes wants to merge 1 commit into
im-anishraj:mainfrom
saurabhhhcodes:fix/arnio-36933

Conversation

@saurabhhhcodes

Copy link
Copy Markdown
Contributor

Description

This PR fixes real bugs found in the codebase:

  • Replaced innerHTML assignment with textContent: prevents HTML injection / XSS and is faster since it does not parse markup.
  • Replaced innerHTML assignment with textContent: prevents HTML injection / XSS and is faster since it does not parse markup.
  • Replaced arr[arr.length - 1] with .at(-1): cleaner access to the last element.

Type of Change

  • Bug fix (non-breaking change fixing an issue)

How Has This Been Tested?

  • Local manual testing

Checklist

  • My code follows the style guidelines
  • I have performed a self-review

Related Issue

Ref: #3296

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the xtylishanish-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant