Ensure ecosystem project errors are properly fenced (#8516)

Fixes bug where errors could be unfenced resulting in hidden remaining
content

e.g. https://github.com/astral-sh/ruff/pull/8508#issuecomment-1794960132
This commit is contained in:
Zanie Blue 2023-11-06 09:35:07 -06:00 committed by GitHub
parent 5e2bb8ca07
commit 311a7751f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ def markdown_check_result(result: Result) -> str:
lines.extend(
markdown_project_section(
title="error",
content=f"```\n{error}```",
content=f"```\n{str(error).strip()}\n```",
options=project.check_options,
project=project,
)