This commit is contained in:
+2
-2
@@ -232,14 +232,14 @@ def json_to_md_nested(json_path, md_path, runtime_params=None):
|
||||
body_coll += "- **Details:** `None`\n"
|
||||
|
||||
# ✅ Mettre absolument tout dans <details>, même si vide
|
||||
folder_body += f" <details>\n"
|
||||
folder_body += f" - <details>\n"
|
||||
folder_body += f" <summary>{emoji} {short_node}</summary>\n\n"
|
||||
for line in body_coll.strip().splitlines():
|
||||
folder_body += f" {line}\n"
|
||||
folder_body += f" </details>\n\n"
|
||||
|
||||
# ✅ Encapsuler tout dans un bloc parent (ci-reports etc.)
|
||||
f.write(f"- <details>\n")
|
||||
f.write(f" <details>\n")
|
||||
f.write(f" <summary>{folder_emoji} {folder} ({len(collectors)} tests)<!-- prevent auto-open --></summary>\n\n")
|
||||
for line in (folder_body + body_collectors).strip().splitlines():
|
||||
f.write(f" {line}\n")
|
||||
|
||||
Reference in New Issue
Block a user