jvoisin e43381d17a perf(sanitizer): avoid Token() allocations in stripIter 1 month ago
..
testdata 3d0126be0b Speed the sanitizer up a bit, again 2 years ago
sanitizer.go 87d7891600 refactor: remove the now-useless maxDepth limit in the sanitizer 2 months ago
sanitizer_test.go 87d7891600 refactor: remove the now-useless maxDepth limit in the sanitizer 2 months ago
srcset.go 7c41128d88 refactor(sanitizer): use uint instead of int when possible 6 months ago
srcset_test.go 3aea68e725 refactor(sanitizer): rewrite srcset parser according to HTML specs 6 months ago
strip_tags.go e43381d17a perf(sanitizer): avoid Token() allocations in stripIter 1 month ago
strip_tags_test.go d235a63138 refactor(sanitizer): always trim spaces in StripTags 2 months ago
truncate.go f66772e911 feat(sanitizer): speed up TruncateHTML by a lot 2 months ago
truncate_test.go f66772e911 feat(sanitizer): speed up TruncateHTML by a lot 2 months ago
url.go 6543d652a6 fix(sanitizer): match URI schemes case-insensitively 3 months ago
url_test.go 6543d652a6 fix(sanitizer): match URI schemes case-insensitively 3 months ago