From 7a36cffe258cb8d00e0aa39c2bdc7a3d6b708dcd Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sat, 19 Jul 2025 19:18:49 +0200 Subject: [PATCH] Update json_to_md.py --- json_to_md.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/json_to_md.py b/json_to_md.py index a6513f3a1..e9371694f 100644 --- a/json_to_md.py +++ b/json_to_md.py @@ -128,10 +128,10 @@ def make_test_block(test, status, emoji, level, runtime_params): skip_keys = {"nodeid", "global_number"} for phase in [k for k in test if isinstance(test[k], dict) and k not in skip_keys]: - body += f"- **{phase.capitalize()} Phase**\n" + body += f"**{phase.capitalize()} Phase**\n" for field, value in test[phase].items(): block = stringify(value) - body += f" **{field}:**\n\n```python\n{block}\n```\n\n" + body += f"**{field}:**\n\n```python\n{block}\n```\n\n" # Formatage final avec indentation cohérente body_content = "\n".join(f" {line}" for line in body.strip().splitlines())