Skip to content

Commit b3df753

Browse files
committed
[4.2.x] Refs #36341 -- Added release note for 4.2.21 for fix in wordwrap template filter.
Revision 1e9db35 fixed a regression in 55d89e2, which also needs to be backported to the stable branches in extended support. Backport of c86242d from main.
1 parent e61e3da commit b3df753

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/releases/4.2.21.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Django 4.2.21 release notes
44

55
*Expected May 7, 2025*
66

7-
Django 4.2.21 fixes a data loss bug in 4.2.20.
7+
Django 4.2.21 fixes a data loss bug and a regression in 4.2.20.
88

99
Bugfixes
1010
========
@@ -13,3 +13,8 @@ Bugfixes
1313
``allow_overwrite=True``, where leftover content from a previously larger
1414
file could remain after overwriting with a smaller one due to lack of
1515
truncation (:ticket:`36298`).
16+
17+
* Fixed a regression in Django 4.2.20, introduced when fixing
18+
:cve:`2025-26699`, where the :tfilter:`wordwrap` template filter did not
19+
preserve empty lines between paragraphs after wrapping text
20+
(:ticket:`36341`).

0 commit comments

Comments
 (0)