-
Notifications
You must be signed in to change notification settings - Fork 900
Closed
Labels
confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.
Description
Hey there!
We discovered a regression in the new version of the library (3.10.1):
HTML content after MS Office conditional comments is truncated when inside a <table> element.
Reproduction
import markdown
html = """
<table>
<!--[if mso]>-->
<td>keep</td>
<!--<![endif]-->
<td>also keep</td>
</table>
"""
markdown.markdown(html)Expected:
<table>
<!--[if mso]>-->
<td>keep</td>
<!--<![endif]-->
<td>also keep</td>
</table>Actual:
<table>
</table>Context
These are standard MS Office/Outlook conditional comments used in HTML emails for Outlook compatibility.
Regression
Works in 3.10, broken in 3.10.1.
I think, it was introduced in f925349
Metadata
Metadata
Assignees
Labels
confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.