HTML Filter allows you to only accept specific protocols for html
links ( href, src )
self.allowed_protocols = (
'http',
'ftp',
'mailto',
)
so it will only parse clickable urls for those protocol.
I will have a look at django's regexp but i had to redo that function
because "HTML Filter" works as a group of connected filters.
Please read the explanations at :
http://amisphere.com/contrib/python-html-filter/
And the examples and parameters inside the source code:
http://amisphere.com/contrib/python-html-filter/html_filter.py
On Mar 7, 11:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Sam, there's a filter for clickable URLs built-into Django, too.
> Smacked my head when I found that one.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---