Removed buggy html2wl XSLT - replaced with a Javascript HTML serializer.
[redakcja.git] / platforma / static / js / main.js
index 8b55af9..a044b87 100644 (file)
@@ -329,7 +329,8 @@ function reverseTransform(editor, cont, errorCont, dontBlock) {
     }
     setTimeout(function() {
         html2xml({
-            xml: serializer.serializeToString($('#html-view div').get(0)),
+                       htmlElement: $('#html-view div').get(0),
+            /* xml: serializer.serializeToString($('#html-view div').get(0)), */
             success: function(text) {
                 editor.setCode(text);
                 if (!dontBlock) {