Commit 2f6a98c1 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[views] Fix closing 'a' tag in CKAN link component

parent d5eae92f3d29
......@@ -55,4 +55,4 @@ class GotoCKANDatasetComponent(component.EntityCtxComponent):
r = self._ckan_response
url = ckan_buildurl(self._cw.vreg.config,
'dataset/' + xml_escape(r['name']))
w(u'<a target=_blank href="%s">%s<a/>' % (url, xml_escape(url)))
w(u'<a target=_blank href="%s">%s</a>' % (url, xml_escape(url)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment