We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33a89a commit 5985598Copy full SHA for 5985598
src/markdown.js
@@ -135,7 +135,8 @@ function parseInlineMeta(state, silent) {
135
function parseIndexTerm(state, silent) {
136
let max = state.posMax
137
// Check for opening '(('
138
- if (state.pos >= max + 4 || state.src.charCodeAt(state.pos) != 40 || state.src.charCodeAt(state.pos + 1) != 40) return false
+ if (state.pos >= max + 4 || state.src.charCodeAt(state.pos) != 40 || state.src.charCodeAt(state.pos + 1) != 40 ||
139
+ state.src.charCodeAt(state.pos + 2) == 40) return false
140
141
let start = state.pos + 2, end = start
142
for (;; end++) {
0 commit comments