diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index 701d686532..aca1281a98 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -368,6 +368,11 @@ Miscellaneous :meth:`~django.test.SimpleTestCase.assertInHTML` now add ``": "`` to the ``msg_prefix``. This is consistent with the behavior of other assertions. +* ``django.utils.text.Truncator`` used by :tfilter:`truncatechars_html` and + :tfilter:`truncatewords_html` template filters now uses + :py:class:`html.parser.HTMLParser` subclasses. This results in a more robust + and faster operation, but there may be small differences in the output. + .. _deprecated-features-5.1: Features deprecated in 5.1 |
