| .. |
|
testdata
|
3d0126be0b
Speed the sanitizer up a bit, again
|
2 anni fa |
|
sanitizer.go
|
6838f3a6e9
perf(sanitizer): use WriteByte for single characters instead of WriteString
|
1 mese fa |
|
sanitizer_test.go
|
01888d8e32
fix: run go fix
|
1 mese fa |
|
srcset.go
|
7c41128d88
refactor(sanitizer): use uint instead of int when possible
|
2 mesi fa |
|
srcset_test.go
|
3aea68e725
refactor(sanitizer): rewrite srcset parser according to HTML specs
|
2 mesi fa |
|
strip_tags.go
|
bfb429b919
refactor(sanitizer): optimize `internal/reader/sanitizer/strip_tags.go`
|
1 anno fa |
|
strip_tags_test.go
|
168a870c02
Move internal packages to an internal folder
|
2 anni fa |
|
truncate.go
|
4a77e937af
perf(sanitizer): remove two useless calls to strings.ReplaceAll
|
1 anno fa |
|
truncate_test.go
|
f2f60a8f73
feat(sanitizer): improve text truncation with better space handling
|
1 anno fa |