summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMatti Pohjanvirta <matti.pohjanvirta@iki.fi>2025-04-20 18:22:51 +0300
committerNatalia <124304+nessita@users.noreply.github.com>2025-04-23 16:18:55 -0300
commit305aa4d0c5507072fa3a1c2f03fba9559329b499 (patch)
tree123f9a18f13881f4fc5360b11b3ac6279dcfb9c6 /docs/ref
parent97c93549fc864af61cb1ae1fd171a3c7ac6ee89a (diff)
[5.2.x] Fixed #36341 -- Preserved whitespaces in wordwrap template filter.
Regression in 55d89e25f4115c5674cdd9b9bcba2bb2bb6d820b. This work improves the django.utils.text.wrap() function to ensure that empty lines and lines with whitespace only are kept instead of being dropped. Thanks Matti Pohjanvirta for the report and fix. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of 1e9db35836d42a3c72f3d1015c2f302eb6fee046 from main.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions