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

Port of Django's urlize #73

Closed
Lukas0907 opened this issue Sep 13, 2016 · 3 comments
Closed

Port of Django's urlize #73

Lukas0907 opened this issue Sep 13, 2016 · 3 comments

Comments

@Lukas0907
Copy link

Lukas0907 commented Sep 13, 2016

Hi,

it would be awesome to have a port of Django's urlize (https://github.com/django/django/blob/master/django/utils/html.py#L236) in w3lib.

urlize creates clickable links, i.e. <a href="https://example.com>https://example.com</a> out of every URL detected in a string.

Cheers,

Lukas

@redapple
Copy link
Contributor

redapple commented Oct 6, 2016

Hi @Lukas0907 , I do not really see when this can be used.
What's your use case?
Can you detail why having this functionality in w3lib would be better than using Django's version?

@Lukas0907
Copy link
Author

Hi,

I wanted to use that functionality without adding a dependency to Django.
However, I already found https://github.com/mozilla/bleach which provides that functionality.

Cheers,

Lukas

@redapple
Copy link
Contributor

redapple commented Oct 6, 2016

Nice!
Closing the issue then.

@redapple redapple closed this as completed Oct 6, 2016
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

No branches or pull requests

2 participants