[FIX] do not normalize urls for images

bzr revid: fme@openerp.com-20131022131629-vo67pv9yqyuoe7q6
This commit is contained in:
Fabien Meghazi 2013-10-22 15:16:29 +02:00
parent 42f2544250
commit fd5bae6a98
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class view(osv.osv):
attr = 'action' if 'action' in element.attrib else None
elif element.tag in ['a', 'link']:
attr = 'href' if 'href' in element.attrib else None
elif element.tag in ['frame', 'iframe', 'img', 'input', 'script']:
elif element.tag in ['frame', 'iframe', 'script']:
attr = 'src' if 'src' in element.attrib else None
if attr:
value = element.attrib[attr]