Add fix and update test

This commit is contained in:
Kayce Basques
2025-12-07 09:59:20 -08:00
parent af34e0f293
commit b397cce765
2 changed files with 62 additions and 1 deletions
+4 -1
View File
@@ -206,7 +206,10 @@ def test_process_includes_in_code_block(tmp_path):
# Create a source file that includes the test file
source_content = (
".. code-block:: rst\n\n .. include:: foo.txt"
"Normal paragraph.\n\n"
".. code-block:: rst\n\n"
" .. include:: foo.txt\n\n"
"Another normal paragraph."
)
source_file = tmp_path / "source.txt"
with open(source_file, "w", encoding="utf-8") as f: