From: zuber Date: Mon, 5 Oct 2009 10:10:28 +0000 (+0200) Subject: Merge branch 'master' of stigma.nowoczesnapolska.org.pl:platforma X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/333700b34cb944ab49d1c9243f7193d50d25ebd1?ds=inline;hp=--cc Merge branch 'master' of stigma.nowoczesnapolska.org.pl:platforma --- 333700b34cb944ab49d1c9243f7193d50d25ebd1 diff --cc project/static/js/button_scripts.js index 8c049291,647f841a..ca37eb41 --- a/project/static/js/button_scripts.js +++ b/project/static/js/button_scripts.js @@@ -165,9 -165,9 +165,9 @@@ function ScriptletCenter( var first = true; for(var i=0; i < verses.length; i++) { - verse = verses[i].replace(/^\s+/, "").replace(/\s+$/, ""); + var verse = verses[i].replace(/^\s+/, "").replace(/\s+$/, ""); if(verse) { - text += (buf ? buf + '\\\n' : '') + ebuf; + text += (buf ? buf + '/\n' : '') + ebuf; buf = (first ? '\n' : '') + verses[i]; ebuf = ''; first = false;