1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Fixing non breakable space insertion

This commit is contained in:
sametmax
2012-08-07 12:38:06 +02:00
parent a045de73d1
commit 54e9098999
3 changed files with 2 additions and 39 deletions

View File

@ -281,7 +281,7 @@ window.zerobin = {
getPasteContent: function(){
var copy = '' ;
$("#paste-content li").each(function(index) {
copy = copy + $(this).text() + '\n';
copy = copy + $(this).text().replace(/[\u00a0]+/g, ' ') + '\n';
});
return copy;
},