Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(sanitizer): remove two useless calls to strings.ReplaceAll #3160

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

jvoisin
Copy link
Collaborator

@jvoisin jvoisin commented Feb 17, 2025

The strings.Fields considers '\t', '\n', '\v', '\f', '\r', ' ', U+0085 (NEL), U+00A0 (NBSP). as spaces, so no need to remove them beforehand.

This is a continuation of f2f60a8

The [strings.Fields](https://pkg.go.dev/strings#Fields) considers `'\t', '\n',
'\v', '\f', '\r', ' ', U+0085 (NEL), U+00A0 (NBSP).` as spaces, so no need to
remove them beforehand.

This is a continuation of f2f60a8
@fguillot fguillot merged commit 4a77e93 into miniflux:main Feb 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants