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

Strip input from both space and non-breaking space #131

Merged
merged 5 commits into from
Feb 5, 2019

Conversation

dentarg
Copy link
Collaborator

@dentarg dentarg commented Feb 5, 2019

Related to #126, making the whitespace removal more general.

WDYT @walro @jage?

Related to #126, making the whitespace removal more general.
Seems more common to use "leading" than "starting" when talking about
whitespace.
@walro
Copy link
Contributor

walro commented Feb 5, 2019

Haven't checked the logics, but I like the gist of it.

@dentarg dentarg requested a review from jage February 5, 2019 13:25
lib/twingly/url.rb Outdated Show resolved Hide resolved
lib/twingly/url.rb Outdated Show resolved Hide resolved
lib/twingly/url.rb Outdated Show resolved Hide resolved
lib/twingly/url.rb Outdated Show resolved Hide resolved
@jage
Copy link
Contributor

jage commented Feb 5, 2019

Looks like a good direction!

lib/twingly/url.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@walro walro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎨

@dentarg dentarg merged commit e9f58da into handle-non-breaking-space Feb 5, 2019
@dentarg dentarg deleted the strip-whitespace branch February 5, 2019 15:35
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.

None yet

3 participants