Skip to content
Snippets Groups Projects
Commit 8b8bb86c authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[kiddo] fix wrong gaim xhtml HREF tag. fixes #2644

parent 3b22e878
No related branches found
No related tags found
No related merge requests found
......@@ -623,8 +623,10 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
#id_ = attrs.get('id',None)
id_ = None
if name == 'a':
#TODO: accesskey, charset, hreflang, rel, rev, tabindex, type
href = attrs.get('href', None)
#TODO: accesskey, charset, hreflang, rel, rev, tabindex, type
if "href" in attrs: href = attrs.get('href', None)
elif "HREF" in attrs: href = attrs.get('HREF', None)
# Gaim sends HREF instead of href
title = attrs.get('title', attrs.get('rel',href))
type_ = attrs.get('type', None)
tag = self._create_url(href, title, type_, id_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment