#11445: truncatewords_html does'nt correctly detect html entities.
--------------------------------+-------------------------------------------
 Reporter:  Cld                 |       Owner:  nobody    
   Status:  new                 |   Milestone:            
Component:  Template system     |     Version:  SVN       
 Keywords:  truncatewords_html  |       Stage:  Unreviewed
Has_patch:  0                   |  
--------------------------------+-------------------------------------------
 truncatewords_html does'nt correctly detect html entities and detect '&
 something and something more ;' as a html entities.

 text = 'john paul george & ringo are very ; good musicien'

 django.template.defaultfilters.truncatewords_html(text,3) : u'john paul
 george ...'

 django.template.defaultfilters.truncatewords_html(text,4) : u'john paul
 george & ringo are very ; good ...'

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11445>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to