-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix markdown format for table rows #829
Conversation
kebechet/managers/update/update.py
Outdated
@@ -703,7 +703,9 @@ def _generate_update_body(self, outdated: dict) -> str: | |||
details.get("new_version"), | |||
details.get("dev"), | |||
) | |||
package_name_rows += f"**{package}**|{old_version}|{new_version}|{is_dev}\n" | |||
package_name_rows += ( | |||
f"|**{package}**|{old_version}|{new_version}|{is_dev}\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f"|**{package}**|{old_version}|{new_version}|{is_dev}\n" | |
f"|**{package}**|{old_version}|{new_version}|{is_dev}|\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh, good point, thanks! I'll add that trailing pipe too
Add leading and traling | chars to clarify markdown for table rows Signed-off-by: Pep Turró Mauri <[email protected]>
ff00639
to
4bd0f86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks 💯
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16, KPostOffice The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Related Issues and Dependencies
#822
This introduces a breaking change
This Pull Request implements
Fix the markdown formatting of the package rows in the table within update PRs.
Description
The fix in #823 fixes the formatting of the header of the table in the reported issues by adding the missing leading
|
.This PR adds that pipe char to the rows that go after the header, i.e. the rest of the table, formed by the list of packages to update.