Jacob Schmidt 7865e3bc8b refactor: use GeneratedRegex in HtmlSanitizer for compile-time optimization
- Convert HtmlSanitizer to partial class with [GeneratedRegex] attributes
- Replace 11 runtime Regex.Replace/Matches calls with generated methods
- Eliminates regex compilation overhead for HTML sanitization operations
- Update REFACTORING_SUMMARY.md to document the optimization

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-02-24 18:50:15 -06:00
..