| {\*.*?\*}
| {\#(?!.*djlint:[ ]*?(?:off|on)\b).*\#}
| <\?php.*?\?>
diff --git a/tests/test_html/test_tag_span.py b/tests/test_html/test_tag_span.py
index 3c6e5db..4b8f7b5 100644
--- a/tests/test_html/test_tag_span.py
+++ b/tests/test_html/test_tag_span.py
@@ -105,6 +105,22 @@ def test_span_leading_text(runner: CliRunner, tmp_file: TextIO) -> None:
"""
)
+ write_to_file(
+ tmp_file.name,
+ b"""
+ New You can now use this feature
+
""",
+ )
+ runner.invoke(djlint, [tmp_file.name, "--reformat"])
+
+ assert (
+ Path(tmp_file.name).read_text(encoding="utf8")
+ == """
+ New You can now use this feature
+
+"""
+ )
+
def test_span_and_template(runner: CliRunner, tmp_file: TextIO) -> None:
write_to_file(