1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00
miniflux-v2/internal/reader/rss
jvoisin 60ad19c427 perf(rss): early return when looking for an item's author
The `sanitizer.StripTags` function is calling `html.NewTokenizer`, which is
allocating a 4096 bytes buffer on the heap, as well a running a complex state
machine to tokenize html. There is no need to do all of this for empty strings.

This commit also fixes a TrimSpace/StripTags call inversion.
2025-06-11 19:06:15 -07:00
..
adapter.go perf(rss): early return when looking for an item's author 2025-06-11 19:06:15 -07:00
atom.go Remove some duplicated code in RSS parser 2024-03-15 18:40:06 -07:00
feedburner.go Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
parser.go Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
parser_test.go feat: populate feed description automatically 2025-05-24 21:15:52 -07:00
podcast.go Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
rss.go fix(rss): handle item title with CDATA content correctly 2025-02-15 14:51:27 -08:00