django/tests/template_tests
Matti Pohjanvirta 1e9db35836 Fixed #36341 -- Preserved whitespaces in wordwrap template filter.
Regression in 55d89e25f4.

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>
2025-04-23 16:14:03 -03:00
..
eggs
filter_tests Fixed #36341 -- Preserved whitespaces in wordwrap template filter. 2025-04-23 16:14:03 -03:00
jinja2/template_tests
other_templates
recursive_templates
relative_templates
syntax_tests Fixed #28050 -- Added template name to TemplateSyntaxError. 2025-04-17 08:56:53 +02:00
templates Fixed #35493 -- Allowed template self-inclusion with relative paths. 2024-12-06 10:44:10 +01:00
templatetags Fixed #35535 -- Added template tag decorator simple_block_tag(). 2024-11-19 14:35:02 -03:00
__init__.py
alternate_urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
annotated_tag_function.py
broken_tag.py
test_autoreloader.py Refs #15667 -- Added resetting default renderer when FORM_RENDERER is changed. 2023-09-29 08:54:13 +02:00
test_base.py Improved TokenType.COMMENT test by using correct block syntax in template tests. 2024-09-16 10:30:30 -03:00
test_callables.py Fixed #27654 -- Propagated alters_data attribute to callables overridden in subclasses. 2022-11-04 11:08:58 +01:00
test_context.py Refs #35844 -- Fixed copying BaseContext and its subclasses on Python 3.14+. 2024-11-18 16:05:37 +01:00
test_custom.py Fixed #35535 -- Added template tag decorator simple_block_tag(). 2024-11-19 14:35:02 -03:00
test_engine.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_extends.py Fixed #35789 -- Improved the error message raised when the tag must be first in the template. 2024-10-10 12:21:02 +02:00
test_extends_relative.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_library.py Fixed #35535 -- Added template tag decorator simple_block_tag(). 2024-11-19 14:35:02 -03:00
test_loaders.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_logging.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_nodelist.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_origin.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_parser.py Fixed #35816 -- Handled parsing of scientific notation in DTL. (#19213) 2025-03-11 08:02:27 +01:00
test_response.py Refs #35141 -- Corrected value of CACHE_MIDDLEWARE_SECONDS in CacheMiddlewareTest tests. 2024-01-29 19:18:43 +01:00
test_smartif.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py Fixed #35897 -- Removed unnecessary escaping in template's get_exception_info(). 2024-11-28 15:53:31 +01:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
utils.py Normalized imports of functools.wraps. 2022-05-25 10:58:28 +02:00
views.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00