Skip to content

Commit

Permalink
Merge pull request #1042 from alex0x08/master
Browse files Browse the repository at this point in the history
Fix for incorrect @username parsing issue
  • Loading branch information
maxcom authored Oct 22, 2023
2 parents b167628 + 7c574cb commit 8c5a4e4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class LorUserParserExtension(val inlineParser: InlineParser) extends InlineParse

val possible = index == 0 || {
val c = inlineParser.getInput.charAt(index - 1)

!Character.isUnicodeIdentifierPart(c) && c != '-' && c != '.'
c == ' '
}

if (possible) {
Expand Down

0 comments on commit 8c5a4e4

Please sign in to comment.