swish/commit

Open links from the rendering in a new tab/window.

authorJan Wielemaker
Fri Feb 20 17:23:00 2015 +0100
committerJan Wielemaker
Fri Feb 20 17:23:00 2015 +0100
commit05c2af7b7a9e0bba6069b38743ec67ff1f869119
tree9d014de6aee03d84f5663030b773a2104b8f466f
parent84162b142067675fade29ba1878cf434d3c18839
Diff style: patch stat
diff --git a/lib/swish/render/rdf.pl b/lib/swish/render/rdf.pl
index 3aca11a..afffbae 100644
--- a/lib/swish/render/rdf.pl
+++ b/lib/swish/render/rdf.pl
@@ -49,7 +49,7 @@ Render RDF data.
 term_rendering(Term, _Vars, Options) -->
 	{ is_rdf(Term)
 	}, !,
-	rdf_link(Term, Options).
+	rdf_link(Term, [target('cliopatria-localview'), Options]).
 
 is_rdf(Term) :-
 	is_uri(Term), !.