Skip to content

Angle brackets <> aren't escaped. #99

Closed

Description

@AnyOldName3
>>> markdownify('text&lt;text&gt;')                              
'text<text>'

In at least some flavours of Markdown, this would need to be text\<text\> instead. As an example, GitHub-flavoured Markdown gives

text

and

text<text>

without and with backslashes respectively.

Activity

  1. chrispy-snps commented on Jan 14, 2024

    @chrispy-snps
    Collaborator

    @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.

  2. added a commit that references this issue on Apr 3, 2024
    bcda637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions