From 639d41778023be5062191a3519a3fe5faefb3e33 Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 29 Dec 2010 14:15:05 -0800 Subject: [PATCH] fix qr quoting --- 4chan_x.coffee | 2 +- 4chan_x.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.coffee b/4chan_x.coffee index 3170f9022..949da3061 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -620,7 +620,7 @@ qrText = (link) -> selection = window.getSelection() id = x('preceding::span[@id][1]', selection.anchorNode)?.id - text += selection.toString() if id is link.parentNode.id + text += '>' + selection.toString() if id is link.parentNode.id text diff --git a/4chan_x.js b/4chan_x.js index 23394a86f..e004b8101 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -798,7 +798,7 @@ selection = window.getSelection(); id = (_ref = x('preceding::span[@id][1]', selection.anchorNode)) != null ? _ref.id : void 0; if (id === link.parentNode.id) { - text += selection.toString(); + text += '>' + selection.toString(); } return text; };