Commit Graph

6 Commits

Author SHA1 Message Date
Lina Tawfik
4ed7e5538d Fix prettier formatting 2025-05-28 18:13:39 -07:00
Lina Tawfik
cf04e19dbc Refactor tests to remove redundancy and improve structure
- Remove redundant 'mixed input patterns' test from sanitizer.test.ts
- Consolidate integration tests into 2 focused real-world scenarios
- Add HTML comment stripping to sanitizeContent function
- Update test expectations to match sanitization behavior
- Maintain full coverage with fewer, more focused tests
2025-05-28 18:12:07 -07:00
Lina Tawfik
046ef964a9 Format code with prettier 2025-05-28 17:30:42 -07:00
Lina Tawfik
61cd297c18 Add enhanced text sanitization 2025-05-28 17:29:09 -07:00
Lina Tawfik
dd5e8c974a feat: strip HTML comments from GitHub content
- Add stripHtmlComments function to remove HTML comments from text
- Apply to all GitHub content (bodies, comments, reviews, triggers)
- Add comprehensive tests for comment stripping functionality
2025-05-21 13:23:32 -07:00
Lina Tawfik
f66f337f4e Initial commit 2025-05-19 08:32:32 -07:00