Andrew Martin
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lib/rules_inline/link.js
|
|
@ -98,7 +98,7 @@ module.exports = function link(state, silent) { |
|
|
|
//
|
|
|
|
// Link reference
|
|
|
|
//
|
|
|
|
if (typeof state.env.references === 'undefined') { return false; } |
|
|
|
if (typeof state.env === 'undefined' || typeof state.env.references === 'undefined') { return false; } |
|
|
|
|
|
|
|
if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) { |
|
|
|
start = pos + 1; |
|
|
|