]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/parse_html_htmlparser.py
Copy third-party modules to the source tree.
[bookmarks_db.git] / Robots / parse_html_htmlparser.py
index 351fc749c9941d4532d48b6720139fdb634fbd46..77021624ff9543a82ebe26cc170398a49f13a6bb 100644 (file)
@@ -1,7 +1,7 @@
 """
    HTML Parser
 
-   Written by Broytman. Copyright (C) 1997-2008 PhiloSoft Design
+   Written by Broytman. Copyright (C) 1997-2010 PhiloSoft Design
 """
 
 from HTMLParser import HTMLParseError
@@ -63,7 +63,7 @@ class HTMLParser(_HTMLParser):
 
       for attrname, value in attrs:
          if value:
-            value = value.strip().lower()
+            value = value.strip()
             if (attrname == 'rel') and (value.lower() in ('icon', 'shortcut icon')):
                has_icon = True
             elif attrname == 'href':