#19496: truncatechars_html
---------------------------------+------------------------------------
     Reporter:  esevece          |                    Owner:  EvilDMP
         Type:  New feature      |                   Status:  assigned
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:  truncatechars    |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  1
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by saturn5971):

 * cc: saturn5971 (added)
 * keywords:  truncatchars => truncatechars


Comment:

 Thanks! I updated my pull request in accord with Timo's suggestions.

 [https://github.com/django/django/pull/1689]

 To eliminate redundant code between _html_chars and _html_words, I've
 collapsed them into a single function, _truncate_html. I made the
 requested documentation changes as well.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19496#comment:12>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.3677bf4066167cf39beb0b481145eda9%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to