Skip to content

Autolink following an open angle bracket can be misinterpreted as tag #813

Closed

Description

@thisgeek

If an angle bracket appears inline before an autolink, and if content follows immediately after the angle bracket, as for example:

<1 <http://example.com>

the parser will confuse the first angle bracket as the opening of an HTML tag. Instead of producing:

&lt;i <a href="http://example.com">http://example.com</a>

marked leaves it untouched:

<i <http://example.com>

Activity

  1. added 2 commits that reference this issue on Sep 25, 2016
    40794e7
    6c9c802
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