django 1.3, comments on books, last activity log, some minor changes
[redakcja.git] / redakcja / static / js / wiki / xslt.js
index ce7614d..46726c1 100644 (file)
@@ -85,7 +85,7 @@ function xml2html(options) {
             source.text('');
             options.error(error.text(), source_text);
         } else {
             source.text('');
             options.error(error.text(), source_text);
         } else {
-            options.success(doc.firstChild);
+            options.success(doc.childNodes);
 
             withThemes(function(canonThemes) {
                 if (canonThemes != null) {
 
             withThemes(function(canonThemes) {
                 if (canonThemes != null) {