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 ddea2ae commit ce74e69Copy full SHA for ce74e69
1 file changed
browser/components/MarkdownPreview.js
@@ -55,7 +55,7 @@ function handleAnchorClick (e) {
55
e.preventDefault()
56
e.stopPropagation()
57
let href = e.target.href
58
- if (href.match(/^http:\/\/|https:\/\/|mailto:\/\//)) {
+ if (href && href.match(/^http:\/\/|https:\/\/|mailto:\/\//)) {
59
shell.openExternal(href)
60
}
61
0 commit comments