Skip to content

Commit

Permalink
Merge pull request #1631 from benesch/clipboard-dots
Browse files Browse the repository at this point in the history
preserve dots when copying to clipboard
  • Loading branch information
Jesse Seldess committed Jun 27, 2017
2 parents 0520d55 + 4017e9e commit 1624928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/customscripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ $(function() {
},
text: function(trigger) {
var text = $(trigger).next().find('code').text();
text = text.replace(/\\\n(?=.)|(^[\r\n]+|\.|[\r\n]+$)/g, '');
text = text.replace(/\\\n(?=.)|(^[\r\n]+|[\r\n]+$)/g, '');
return text;
}
});
Expand Down

0 comments on commit 1624928

Please sign in to comment.