git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@287
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
"""
HTML Parser
- Written by Broytman. Copyright (C) 1997-2008 PhiloSoft Design
+ Written by Broytman. Copyright (C) 1997-2010 PhiloSoft Design
"""
from HTMLParser import HTMLParseError
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':