|
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.
flexmark-java/flexmark-ext-gfm-issues/src/main/java/com/vladsch/flexmark/ext/gfm/issues/internal/GfmIssuesInlineParserExtension.java
Line 13 in 07b83fb
Expression has
\nbut it doesn't have\r. Windows new lines are in the form\r\n.This causes text written as
#1\r\nto not get recognized and converted to links by the Issue extension, but it will recognize#1\nand convert it correctly.