mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
- Grow the underlying buffer of SanitizeHTML's strings.Builder to 3/4 of the raw HTML from the start, to reduce the amount of iterative allocations. This number is a complete guesstimation, but it sounds reasonable to me. - Add a `absoluteURLParsedBase` function to avoid parsing baseURL over and over. |
||
---|---|---|
.. | ||
testdata | ||
sanitizer.go | ||
sanitizer_test.go | ||
srcset.go | ||
srcset_test.go | ||
strip_tags.go | ||
strip_tags_test.go | ||
truncate.go | ||
truncate_test.go |