]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
added commentsand fixed something forgotten
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index 7b13c97e4b2d4dd0780a89c9bf679c91388a3cb1..d039de1f1877d6cc9b70b86d44cd2d3dabce47d0 100755 (executable)
@@ -733,7 +733,7 @@ class Poche
           $data = array();
           $read = 0;
 
-          if (Tools:: get_doctype($html)) {
+          if (Tools::get_doctype($html)->innertext == "<!DOCTYPE NETSCAPE-Bookmark-file-1>") {
             // Firefox-bookmarks HTML
             foreach (array('DL','ul') as $list) {
                 foreach ($html->find($list) as $ul) {