mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Regression in55d89e25f4. 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 of1e9db35836from main.