diff options
Diffstat (limited to 'lib/serve.js')
-rw-r--r-- | lib/serve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js index fcc737e..c3ceee7 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -904,7 +904,7 @@ Serve.prototype.composer = function (opts, cb) { mention.size = blob.size if (blob.type && blob.type !== 'application/octet-stream') mention.type = blob.type - } else if (/^[@%&]$/.test(mention.link)) { + } else if (mention.link === '@') { // bare mention var name = mention.name var fullName = mention.link + name |