Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(linky): make urls starting with www. into links #10290

Closed
wants to merge 2 commits into from

Conversation

chasefleming
Copy link
Contributor

The filter was not turning urls like starting with www. (like www.example.com) into links. These changes address that.

@googlebot
Copy link

CLAs look good, thanks!

@chasefleming chasefleming changed the title fix(linky): make urls starting with www. links fix(linky): make urls starting with www. into links Dec 2, 2014
@@ -18,6 +18,10 @@ describe('linky', function() {
expect(linky(undefined)).not.toBeDefined();
});

it('should handle www.', function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

remove space between function and ()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok removed.

@caitp
Copy link
Contributor

caitp commented Dec 2, 2014

(Someone should double check my comments on the regexp --- I could be completely full of it right now), but I don't have a problem with this, it is a closer match to the behaviour of markdown, which is kinda nice.

Remove line break.

Change test url

Remove space

Minor tweak
@chasefleming
Copy link
Contributor Author

Ok all requested changes have been made.

@caitp
Copy link
Contributor

caitp commented Dec 2, 2014

looks good to me, just waiting for travis

@chasefleming
Copy link
Contributor Author

Passed now. Thanks.

@caitp
Copy link
Contributor

caitp commented Dec 2, 2014

merg'd

@caitp caitp closed this in 915a891 Dec 2, 2014
@chasefleming
Copy link
Contributor Author

Awesome. Thanks!

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

Successfully merging this pull request may close these issues.

4 participants