diff --git a/entrypoint.py b/entrypoint.py index a70fb62..07596a4 100755 --- a/entrypoint.py +++ b/entrypoint.py @@ -120,18 +120,18 @@ def get_review( def format_review_comment(summarized_review: str, chunked_reviews: List[str]) -> str: """Format reviews""" - s = summarized_review.replace('\n', '
') if len(chunked_reviews) == 1: - return s - unioned_reviews = "
".join(chunked_reviews) + return summarized_review + unioned_reviews = "\n".join(chunked_reviews) review = f""" -

Summary

+
+# Summary
+{summarized_review}
 
-{s}
-
-
-

Chunks

+--- +# Chunks {unioned_reviews} +
""" return review