#10931: truncate_html_words doen't handle multi-line tags properly --------------------------------------+------------------------------------- Reporter: gsong | Owner: gsong Status: assigned | Milestone: Component: Template system | Version: SVN Resolution: | Keywords: truncatewords_html Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | --------------------------------------+------------------------------------- Changes (by lukeplant):
* needs_better_patch: 0 => 1 * stage: Ready for checkin => Accepted Comment: Thanks so much for this. However, the tests for this should be unit tests, as we are moving away from doctests, especially for this type of thing, and especially as there are already unit tests for truncate_html_words in tests/regressiontests/utils/tests.py. Just add to the ones there already. Thanks. -- Ticket URL: <http://code.djangoproject.com/ticket/10931#comment:5> 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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.