Skip to content

Commit 68a61b3

Browse files
authored
Merge pull request #74 from LightAPIs/pr
Fix an extra space caused by the custom style
2 parents 386e464 + ab7d362 commit 68a61b3

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)