]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rsimple.py
Check root.
[bookmarks_db.git] / Robots / bkmk_rsimple.py
index ebb3f8b2b895f26576174f10c16115d10cabb72d..0dee51e8837ae3db9922704d78bd3e08b7325df7 100644 (file)
@@ -164,7 +164,7 @@ class robot_simple(Robot):
                except (ValueError, IndexError):
                   charset = None
                   self.log("   no charset in Content-Type header")
-               if content_type == "text/html":
+               if content_type in ("text/html", "application/xhtml+xml"):
                   parser = parse_html(fname, charset, self.log)
                   bookmark.real_title = parser.title
                   if parser.refresh: