Skip to content

Sanitize Supabase content before rendering - #15

Merged
marcelo-m7 merged 1 commit into
mainfrom
find-and-fix-a-bug-in-code
Sep 20, 2025
Merged

marcelo-m7 merged 1 commit into
mainfrom
find-and-fix-a-bug-in-code

Conversation

@marcelo-m7

Copy link
Copy Markdown
Collaborator

Summary

  • escape Supabase values before writing them into the DOM to avoid script injection
  • reuse the same sanitizer in the Markdown fallback renderer and topic summaries

Testing

  • npm run lint:content

https://chatgpt.com/codex/tasks/task_e_68cf01918d308322bc30fb1a78d65519

@marcelo-m7
marcelo-m7 merged commit cd9469d into main Sep 20, 2025
1 check passed
@marcelo-m7
marcelo-m7 deleted the find-and-fix-a-bug-in-code branch September 20, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant