From 9f76dde4ca4530d22ac66258b25f7e42c3c596fa Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 23 Apr 2016 15:19:22 +0200 Subject: Bugfix : target="_blank" pas dans xlink --- api/img_adt_svc_relais.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/img_adt_svc_relais.php b/api/img_adt_svc_relais.php index 201ab9b..56fe7ee 100644 --- a/api/img_adt_svc_relais.php +++ b/api/img_adt_svc_relais.php @@ -158,6 +158,7 @@ if (!$opt_show_source) { $image_data = stream_get_contents($pipes[1]); if ($opt_embed) { $image_data = str_replace('image xlink:href="icons', 'image xlink:href="/api/icons', $image_data); + $image_data = str_replace('xlink:title="<TABLE>"', 'target="_blank"', $image_data); } fclose($pipes[1]); $err_data = stream_get_contents($pipes[2]); -- cgit v1.1