Skip to content

Commit

Permalink
Prevent copying unnecessary quote
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6b committed Dec 16, 2017
1 parent b6e1a49 commit 7cb86e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { getSelectionAsMarkdown, doCopy } from './lib/util'

let text = `[${document.title}](${document.URL})`
let selection = getSelectionAsMarkdown()
if (selection !== '') text += `\n\n${selection}`
if (selection !== '> ') text += `\n\n${selection}`

doCopy(text)

0 comments on commit 7cb86e1

Please sign in to comment.