#20568: templatetag truncatewords_html split words on special caracters
----------------------------+--------------------
     Reporter:  yann0@…     |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  Utilities   |    Version:  1.3
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+--------------------
 I'm working with a Englsih / French website and when I use
 truncatewords_html with french texts with special caracters like "é,è,à,
 etc." (which is very common), it split words in half at thoses caracters.

 Example:
 Depuis mars 2008, le programme RECYC-FRIGO d’Hydro-Québec vous permet de
 vous débarrasser d’un vieil appareil, réfrigérateur ou congélateur,
 facilement [...]

 become:
 Depuis mars 2008, le programme RECYC-FRIGO d’Hydro-Québec vous permet de
 vous débarrasser d’un vieil appareil, r ...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20568>
Django <https://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 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.4cc1453a3068e2882bf76ef2e3f1d724%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to