mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
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. |
||
---|---|---|
.. | ||
adapter.go | ||
atom.go | ||
feedburner.go | ||
parser.go | ||
parser_test.go | ||
podcast.go | ||
rss.go |