Skip to content

Commit

Permalink
Add patch for Lemmy community mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Jun 26, 2023
1 parent 3ead246 commit 39953ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,6 @@ function previous(match, email) {
(match.index === 0 ||
unicodeWhitespace(code) ||
unicodePunctuation(code)) &&
(!email || code !== 47)
(!email || (code !== 47 && code !== 33))
)
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mdast-util-gfm-autolink-literal",
"name": "mdast-util-gfm-autolink-literal-lemmy",
"version": "1.0.3",
"description": "mdast extension to parse and serialize GFM autolink literals",
"license": "MIT",
Expand Down

0 comments on commit 39953ae

Please sign in to comment.