#1753: require author info when not logged in
[redakcja.git] / redakcja / static / js / wiki / view_editor_wysiwyg.js
index a3f4278..0179f40 100644 (file)
             return _finalize(failure);
 
         html2text({
             return _finalize(failure);
 
         html2text({
-            element: $('#html-view div').get(0),
+            element: $('#html-view').get(0),
+            stripOuter: true,
             success: function(text){
                 self.doc.setText(text);
                 _finalize(success);
             success: function(text){
                 self.doc.setText(text);
                 _finalize(success);