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 2e0b7a7 commit ab8e220Copy full SHA for ab8e220
src/webview/index.js
@@ -96,7 +96,7 @@ function stripInitialIndent(html, indent) {
96
97
document.addEventListener('paste', e => {
98
const innerHTML = e.clipboardData.getData('text/html')
99
- if (!innerHTML.startsWith(`<meta charset='utf-8'>`)) {
+ if (!innerHTML.startsWith(`<meta`)) {
100
postMessage('invalidPasteContent')
101
return
102
}
0 commit comments