1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-30 19:22:11 +00:00
miniflux-v2/internal/reader/sanitizer
Frédéric Guillot 5e607be86a
refactor(config): rewrite config parser
This PR refactors the configuration parser, replacing the old parser implementation with a new, more structured approach that includes validation and improved organization.

Key changes:
- Complete rewrite of the configuration parser using a map-based structure with built-in validation
- Addition of comprehensive validator functions for configuration values
- Renamed numerous configuration getter methods for better consistency
2025-09-14 10:51:04 -07:00
..
testdata Speed the sanitizer up a bit, again 2024-03-05 19:31:50 -08:00
sanitizer.go perf(sanitizer): make sanitizer ~10% faster by using slices.Contains instead of nested maps 2025-08-20 18:54:49 -07:00
sanitizer_test.go refactor(config): rewrite config parser 2025-09-14 10:51:04 -07:00
srcset.go refactor: unexport symbols 2025-08-07 17:27:04 -07:00
srcset_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
strip_tags.go refactor(sanitizer): optimize internal/reader/sanitizer/strip_tags.go 2024-12-07 16:31:48 -08:00
strip_tags_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
truncate.go perf(sanitizer): remove two useless calls to strings.ReplaceAll 2025-02-18 19:42:39 -08:00
truncate_test.go feat(sanitizer): improve text truncation with better space handling 2025-02-06 21:21:49 -08:00