1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/reader/icon
jvoisin 0e9da3a090 refactor(icon): simplify findIconURLsFromHTMLDocument
- Don't define the queries before possible early returns
- Check for the presence of the href attribute in the queries, instead of later
  on iterating on the selection
- Add two edge-cases to the tests
- Use EachIter instead of Each, if only to avoid the lambda
2025-07-10 19:32:29 -07:00
..
checker.go refactor(icon): unexport a bunch of symbols 2025-07-10 19:32:29 -07:00
finder.go refactor(icon): simplify findIconURLsFromHTMLDocument 2025-07-10 19:32:29 -07:00
finder_test.go refactor(icon): simplify findIconURLsFromHTMLDocument 2025-07-10 19:32:29 -07:00