|
@ -57,7 +57,7 @@ module.exports = function parse_reference(str, parser, options, env) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// ensure that the end of the line is empty
|
|
|
// ensure that the end of the line is empty
|
|
|
pos = state.skipSpaces(pos); |
|
|
while (pos < max && state.src.charCodeAt(pos) === 0x20/* space */) { pos++; } |
|
|
if (pos < max && state.src.charCodeAt(pos) !== 0x0A) { return -1; } |
|
|
if (pos < max && state.src.charCodeAt(pos) !== 0x0A) { return -1; } |
|
|
|
|
|
|
|
|
label = normalizeReference(str.slice(1, labelEnd)); |
|
|
label = normalizeReference(str.slice(1, labelEnd)); |
|
|