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 da2dc19 commit a6e91f1Copy full SHA for a6e91f1
src/output/srcdoc.html
@@ -89,7 +89,8 @@
89
el.hasAttribute('download') ||
90
el.getAttribute('rel') === 'external' ||
91
el.target ||
92
- el.href.startsWith('javascript:')
+ el.href.startsWith('javascript:') ||
93
+ !el.href
94
)
95
return
96
@@ -102,9 +103,8 @@
102
103
104
}
105
- if(el.href){
106
- window.open(el.href, '_blank')
107
- }
+
+ window.open(el.href, '_blank')
108
})
109
send_ok()
110
} catch (e) {
0 commit comments