Skip to content

Trim whitespace around search params before reloading - #20

Open
kzrtn wants to merge 1 commit into
ihsoyCT:masterfrom
kzrtn:master
Open

Trim whitespace around search params before reloading#20
kzrtn wants to merge 1 commit into
ihsoyCT:masterfrom
kzrtn:master

Conversation

@kzrtn

@kzrtn kzrtn commented Jul 23, 2026

Copy link
Copy Markdown

Noticed that any accidental space before or after author's username fails the search. Added a simple .trim() to el.value. Not 100% sure if this breaks other parameters like user flairs etc because I'm unsure if Reddit strips whitespace the same way JS does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant