-
Notifications
You must be signed in to change notification settings - Fork 188
Issue with line-breaks tags #58
Copy link
Copy link
Open
Description
Hi,
I'm facing an issue with line-breaks tags when they are written like <br/> instead of <br>.
Considering this simple example:
>>> import markdownify
>>> markdownify.markdownify("<p>11111<br>22222<br>33333<br/>44444<br><55555</p>", heading_style=markdownify.ATX)Expected:
'11111 \n22222 \n33333 \n44444 \n55555 \n\n'Actual:
'11111 \n22222 \n33333 \n\n\n'My workaround is to .replace('<br/>','<br>') but it's a little pity...
Could you fix this in a future release?
Regards,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels