minor fixes: #860, #861, #870
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 27 Sep 2010 12:23:41 +0000 (14:23 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 27 Sep 2010 12:23:41 +0000 (14:23 +0200)
redakcja/static/js/wiki/wikiapi.js
redakcja/static/js/wiki/xslt.js

index b6388f1..4b36ae9 100644 (file)
                        },
                        error: function() {
                                self.galleryImages = [];
                        },
                        error: function() {
                                self.galleryImages = [];
-                               params['failure'](self, "<p>Nie udało się wczytać gallerii pod nazwą: '" + self.galleryLink + "'.</p>");
+                               params['failure'](self, "<p>Nie udało się wczytać galerii pod nazwą: '" + self.galleryLink + "'.</p>");
                        }
                });
        };
                        }
                });
        };
index a0d0d4b..67216eb 100644 (file)
@@ -273,7 +273,7 @@ HTMLSerializer.prototype.serialize = function(rootElement, stripOuter)
                                if(xnode === 'wers') {
                                        /* push children */
                                        if(self._verseBefore(token.node))
                                if(xnode === 'wers') {
                                        /* push children */
                                        if(self._verseBefore(token.node))
-                                               self.result += '/';
+                                               self.result += '/\n';
                                        self._pushChildren(token.node);
                                        break;
                                };
                                        self._pushChildren(token.node);
                                        break;
                                };