Skip to content

in inline contexts, resolve <br/> to a space instead of an empty string #202

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

Conversation

chrispy-snps
Copy link
Collaborator

Fixes #201. In inline contexts, <br /> now resolves to a space instead of an empty string.

Unit tests were added to include this case.

@chrispy-snps chrispy-snps requested a review from AlexVonB March 2, 2025 14:41
Copy link
Collaborator

@AlexVonB AlexVonB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@chrispy-snps chrispy-snps merged commit 618747c into matthewwithanm:develop Mar 4, 2025
1 check passed
Wuhall pushed a commit to Wuhall/python-markdownify that referenced this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<br/> in inline contexts does not evaluate to a separating space
2 participants