Skip to content
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

Remove newline to fix list rendering #1157

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Conversation

tcharding
Copy link
Contributor

@tcharding tcharding commented Aug 17, 2021

Currently the newline in list items in BIP-0158 is causing the text on the new line to be rendered as a code section. I am unsure why this is happening but putting all the text for each list item on a single line fixes it.

Currently the newline in list items is causing the text on the new line
to be rendered as a code section. I am unsure why but I'm guessing
putting all the text for each list item on a single line will fix it.
@kallewoof
Copy link
Member

Verified that the display issue exists and that the patch fixes rendering. I tested removing the whitespace after the newline but preserving the newline itself to see if that helped but it did not, so the suggested solution seems reasonable to me.

Minor nit if you're up for ACKing, @Roasbeef and/or @aakselrod

@tcharding
Copy link
Contributor Author

Friendly bump - I went to read the BIP again today, saw the issue, went to fix it, and realized I fixed it years ago :)

@aakselrod
Copy link
Contributor

This looks good to me. 👍

@kallewoof kallewoof merged commit de6b3ff into bitcoin:master Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants