thephpleague / html-to-markdown

Convert HTML to Markdown with PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty tags break siblings' markdown

kito-inv opened this issue · comments

Version(s) affected

5.1.1

Description

When there is an empty HTML tag it breaks the parsing of the sibling if it's the same tag

How to reproduce

<strong> </strong> <strong>hello</strong> outputs hello**