Html2Markdown
Html2Markdown copied to clipboard
ul-li elements not handled correctly
Report issue
Tags inside li
elements are not being converted. Unnecessary whitespace is also being produced.
Expected behavior
<ul>
<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
<p>Addresses a known issue that <b class="ocpLegacyBold"><u class="ocpUnderline">only affects Windows Arm-based devices</u></b> and might prevent you from signing in using Azure Active Directory (AAD). Apps and services that use AAD to sign in, such as VPN connections, Microsoft Teams, and Microsoft Outlook, might also be affected.</p>
<meta itemprop="position" content="1">
</li>
</ul>
-should be
* Addresses a known issue that **_only affects Windows Arm-based devices_** and might prevent you from signing in using Azure Active Directory (AAD). Apps and services that use AAD to sign in, such as VPN connections, Microsoft Teams, and Microsoft Outlook, might also be affected.
Actual Behaviour
*
Addresses a known issue that <b class="ocpLegacyBold"><u class="ocpUnderline">only affects Windows Arm-based devices</u>** and might prevent you from signing in using Azure Active Directory (AAD). Apps and services that use AAD to sign in, such as VPN connections, Microsoft Teams, and Microsoft Outlook, might also be affected.</b>
Steps to reproduce the problem
Convert-
<ul>
<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
<p>Addresses a known issue that <b class="ocpLegacyBold"><u class="ocpUnderline">only affects Windows Arm-based devices</u></b> and might prevent you from signing in using Azure Active Directory (AAD). Apps and services that use AAD to sign in, such as VPN connections, Microsoft Teams, and Microsoft Outlook, might also be affected.</p>
<meta itemprop="position" content="1">
</li>
</ul>