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
chasefleming wants to merge 2 commits into
angular:masterfrom
chasefleming:fix/linky
Closed

fix(linky): make urls starting with www. into links#10290
chasefleming wants to merge 2 commits into
angular:masterfrom
chasefleming:fix/linky

Conversation

@chasefleming

Copy link
Copy Markdown
Contributor

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

@googlebot

Copy link
Copy Markdown

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
Comment thread test/ngSanitize/filter/linkySpec.js Outdated

Copy link
Copy Markdown
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
Copy Markdown
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

caitp commented Dec 2, 2014

Copy link
Copy Markdown
Contributor

(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
Copy Markdown
Contributor Author

Ok all requested changes have been made.

@caitp

caitp commented Dec 2, 2014

Copy link
Copy Markdown
Contributor

looks good to me, just waiting for travis

@chasefleming

Copy link
Copy Markdown
Contributor Author

Passed now. Thanks.

@caitp

caitp commented Dec 2, 2014

Copy link
Copy Markdown
Contributor

merg'd

@caitp caitp closed this in 915a891 Dec 2, 2014
@chasefleming

Copy link
Copy Markdown
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