Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Solution for #94: username link drops capitalisation #103

Merged

Conversation

yaauie
Copy link
Contributor

@yaauie yaauie commented Dec 19, 2013

Because name and chunk can be references to the same object,
the destructive name.downcase! also affects chunk. This patch
ensures that the two are never the same object, and avoids the
unintended side-effect.

Because `name` and `chunk` can be references to the same object,
the destructive `name.downcase!` also affects `chunk`. This patch
ensures that the two are never the same object, and avoids the
unintended side-effect.
@yaauie
Copy link
Contributor Author

yaauie commented Dec 19, 2013

The travis build failed because of #104, which is unrelated.

@jakl
Copy link
Contributor

jakl commented Dec 20, 2013

Thank you very much. I'll fix travis shortly too.

jakl added a commit that referenced this pull request Dec 20, 2013
…talisation

Solution for #94: username link drops capitalisation
@jakl jakl merged commit 15500ac into twitter-archive:master Dec 20, 2013
@yaauie
Copy link
Contributor Author

yaauie commented Dec 20, 2013

Since you also accepted twitter/twitter-text-compliance#64, 6760598 is a duplicate and can safely be reverted.

@yaauie yaauie deleted the issue-94/username-link-drops-capitalisation branch December 20, 2013 20:21
@jakl
Copy link
Contributor

jakl commented Dec 20, 2013

Oh thanks - I should look for other duplicates as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants