fix qr quoting
This commit is contained in:
parent
53d90828c3
commit
639d417780
@ -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
|
||||
|
||||
|
||||
@ -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;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user