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
@AnyOldName3 - I am not familiar with the various Markdown variants available. Are you aware of any Markdown variants where angle brackets aren't escaped? The only rule I am aware of is to escape them everywhere except in preformatted text spans and blocks.
jsm28
added a commit
to jsm28/python-markdownify
that referenced
this issue
Apr 3, 2024
There are many punctuation characters that sometimes have significance
in Markdown; more systematically escape them all (based on a new
escape_misc configuration option).
A limited attempt is made to limit the escaping of '.' and ')' to the
context where they might have Markdown significance (after a number,
where they can indicate an ordered list item); no such attempt is made
for the other characters (and even that limiting of '.' and ')' may
not be entirely safe in all cases, as it's possible the HTML could
have the number outside the block being escaped in one go,
e.g. `<span>1</span>.`.
Fixesmatthewwithanm#99
In at least some flavours of Markdown, this would need to be
text\<text\>
instead. As an example, GitHub-flavoured Markdown givestext
and
text<text>
without and with backslashes respectively.
The text was updated successfully, but these errors were encountered: