[views] Fix closing 'a' tag in CKAN link component
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 22 Jan 2015 17:38:47 +0100
changeset 58 2119de08f3e7
parent 53 d5eae92f3d29
child 59 1c5b5774bec7
[views] Fix closing 'a' tag in CKAN link component
views.py
--- a/views.py	Wed Jan 21 15:08:54 2015 +0100
+++ b/views.py	Thu Jan 22 17:38:47 2015 +0100
@@ -55,4 +55,4 @@
         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)))