You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am using this beautiful library to parse the HTML content from an iCal event into Markdown.
I wondered why <a href=https://foo.bar/index/>MyIndex</a> converts to [](https://foo.bar/index)MyIndex and I am not sure if this is a bug or not. I am aware that />represent a self-closing tag, yet every browser seems to display the URL correctly.
Is this a bug or "intended" due to malformed HTML (is it even malformed?)
<a href="https://foo.bar/index/">MyIndex</a> and <a href=https://foo.bar/index>MyIndex</a> are working as intended. Sadly there are many scenarios where we are not able to control the HTML source and "healing" the HTML seems like an overkill to me.
The text was updated successfully, but these errors were encountered:
Hey, I am using this beautiful library to parse the HTML content from an iCal event into Markdown.
I wondered why
<a href=https://foo.bar/index/>MyIndex</a>
converts to[](https://foo.bar/index)MyIndex
and I am not sure if this is a bug or not. I am aware that/>
represent a self-closing tag, yet every browser seems to display the URL correctly.Is this a bug or "intended" due to malformed HTML (is it even malformed?)
<a href="https://foo.bar/index/">MyIndex</a>
and<a href=https://foo.bar/index>MyIndex</a>
are working as intended. Sadly there are many scenarios where we are not able to control the HTML source and "healing" the HTML seems like an overkill to me.The text was updated successfully, but these errors were encountered: