Re: [Django] #21932: urlise filter not working with links in other tags

2014-02-04 Thread Django
#21932: urlise filter not working with links in other tags
-+-
 Reporter:  smortus@…|Owner:  nobody
 Type:  Uncategorized|   Status:  closed
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:  invalid
 Keywords:   | Triage Stage:
  django,template,filter,urlize  |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timo):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 As noted in the
 [https://docs.djangoproject.com/en/dev/ref/templates/builtins/#urlize
 documentation]: 'If urlize is applied to text that already contains HTML
 markup, things won’t work as expected. Apply this filter only to plain
 text.'

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.6d01383558522ea2715b34f41663d6b9%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21932: urlise filter not working with links in other tags

2014-02-03 Thread Django
#21932: urlise filter not working with links in other tags
---+---
 Reporter:  smortus@…  |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Template   |Version:  master
  system   |   Keywords:  django,template,filter,urlize
 Severity:  Normal |  Has patch:  0
 Triage Stage:  Unreviewed |  UI/UX:  0
Easy pickings:  0  |
---+---
 >>> from django.template.defaultfilters import urlize

 >>> urlize("http://s.com/topic/110/boltalka/;)
 u'http://s.com/topic/110/boltalka/;
 rel="nofollow">http://s.com/topic/110/boltalka/'

 >>> urlize("http://s.com/topic/110/boltalka/")
 u'http://s.com/topic/110/boltalka/'

 BUT (with spaces)!

 >>> urlize(" http://s.com/topic/110/boltalka/ ")
 u' http://s.com/topic/110/boltalka/;
 rel="nofollow">http://s.com/topic/110/boltalka/ '


 This can be useful with js wysiwys editor (CKEditor, for example).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/060.e0a3f543f2fffb60be7d38488500b5be%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.