X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=inline;f=Robots%2Fbkmk_rsimple.py;h=0dee51e8837ae3db9922704d78bd3e08b7325df7;hb=39c6f1c85c93c021fca528bb1a5cca91f53c196c;hp=ebb3f8b2b895f26576174f10c16115d10cabb72d;hpb=06769d72bf3bd88ec73f373cd0246c2825f6d4e7;p=bookmarks_db.git diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index ebb3f8b..0dee51e 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -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: