Update json_to_md.py
Run Pytest with HTML and XML Test Reports / tests (push) Successful in 26s

This commit is contained in:
2025-07-17 16:36:46 +02:00
parent d6a07736a9
commit fdca55ad6b
+2 -1
View File
@@ -20,7 +20,7 @@ def stringify(obj, indent=0):
return '\n'.join(
f"{space}- (vide)" if not e or (isinstance(e, dict) and not e)
else f"{space}- {stringify(e, indent + 1)}" if not isinstance(e, dict)
else f"{space}-\n{stringify(e, indent + 1)}"
else f"{space}- {stringify(e, indent + 1)}" # ← plus de \n !
for e in obj
)
@@ -36,6 +36,7 @@ def stringify(obj, indent=0):
return str(obj)
def sanitize_param_value(v):
s = str(v)
return (