mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Trim highlights for consistency and to fix a bug where paragraph ends look different.
This commit is contained in:
parent
d94d533631
commit
0e894954e6
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
|
|||
selection = document.selection.createRange();
|
||||
text = document.selection.createRange().text;
|
||||
}
|
||||
this.serialized_highlight = text;
|
||||
this.serialized_highlight = _.string.trim(text);
|
||||
// console.log(['mouseup_check_selection 1', this.serialized_highlight]);
|
||||
|
||||
if (this.tooltip && this.tooltip.tooltips && this.tooltip.tooltips.length) {
|
||||
|
|
Loading…
Add table
Reference in a new issue