Skip to content

truncatechars_html #1126

Closed
wants to merge 3 commits into from

4 participants

@martmatwarne

For ticket #19496 and should now fix the issue of having a white space rather than an additional character

Also fixed truncatechars as this had become broken in the original version

@vdboor vdboor commented on the diff May 18, 2013
docs/ref/templates/builtins.txt
@@ -2099,6 +2099,26 @@ If ``value`` is ``"Joel is a slug"``, the output will be ``"Joel i..."``.
.. templatefilter:: truncatewords
+.. templatefilter:: truncatechars_html
+
+truncatechars_html
+^^^^^^^^^^^^^^^^^^
@vdboor
vdboor added a note May 18, 2013

I'd recommend adding a .. versionadded:: 1.6 here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@timgraham
Django member

Improved in #1689

@timgraham timgraham closed this Oct 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.