Skip to content

Commit

Permalink
Revert "publish_service: Prefix with \ lines that would break the ~~~…
Browse files Browse the repository at this point in the history
… codeblock"

This reverts commit 3d3aadf.
  • Loading branch information
irgolic committed Aug 23, 2023
1 parent 959b35d commit 43044f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions autopr/services/publish_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,6 @@ def _build_progress_update(
# Leave the last section open if we're not finalizing (i.e. if we're still running or errored)
if not is_root:
if len(updates) > 1:
updates_str = '\n'.join([f"\\{line}" if line.lstrip().startswith("~~~") else line
for line in updates_str.splitlines()])
updates_str = '\n'.join([f"> {line}" for line in updates_str.splitlines()])
elif len(updates) == 1 and section.level > 1:
open_default = True
Expand Down

0 comments on commit 43044f5

Please sign in to comment.