#1919: filter truncatewords wipes newlines from string, so not chainable with
markup filters
-----------------------------+----------------------------------------------
 Reporter:  derelm           |        Owner:  adrian     
     Type:  enhancement      |       Status:  new        
 Priority:  low              |    Milestone:  Version 1.0
Component:  Template system  |      Version:  SVN        
 Severity:  minor            |   Resolution:             
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by Tom Tobin <[EMAIL PROTECTED]>):

 I've attached a patch that will cause the `truncatewords` filter to
 preserve all whitespace (including leading and trailing whitespace).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/1919>
Django <http://code.djangoproject.org/>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to