Skip to content

Commit ab7d362

Browse files
LightLight
authored andcommitted
fix: Fix an extra space caused by the custom style
1 parent 386e464 commit ab7d362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function copyInnerLink(dataset, text) {
1313
webviewApi.postMessage({
1414
name: 'contextMenu',
1515
hash: dataset.slug,
16-
content: text,
16+
content: text.trim(),
1717
});
1818

1919
document.getElementById('header').innerHTML = 'Copy successful!';

0 commit comments

Comments
 (0)