Skip to content

Commit a1e8c5c

Browse files
committed
Fix to patch missing modification for dcb6c3e
1 parent a5ccc38 commit a1e8c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/markdown/markdown_math.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
482482
if (modeCfg.highlightFormatting) state.formatting = "link";
483483
var type = getType(state);
484484
state.linkText = false;
485-
state.inline = state.f = linkHref;
485+
state.inline = state.f = stream.match(/\(.*?\)| ?\[.*?\]/, false) ? linkHref : inlineNormal
486486
return type;
487487
}
488488

0 commit comments

Comments
 (0)