fixes #875: detect work on outdated revision
[redakcja.git] / redakcja / static / js / wiki / xslt.js
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))
-                                               self.result += '/';
+                                               self.result += '/\n';
                                        self._pushChildren(token.node);
                                        break;
                                };