Skip to content

Issue extension doesn't support windows new lines #207

@rnveach

Description

@rnveach

public static final Pattern GITHUB_ISSUE = Pattern.compile("^(#)(\\d+)(?=[ \\t]+|\\n|$)");

Expression has \n but it doesn't have \r. Windows new lines are in the form \r\n.
This causes text written as #1\r\n to not get recognized and converted to links by the Issue extension, but it will recognize #1\n and convert it correctly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions