Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
ckanpublish
Commits
2119de08f3e7
Commit
2f6a98c1
authored
Jan 22, 2015
by
Denis Laxalde
Browse files
[views] Fix closing 'a' tag in CKAN link component
parent
d5eae92f3d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.py
View file @
2119de08
...
...
@@ -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
)))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment