From f804c100b61236b05b6b9cfea18a7b95cce2426b Mon Sep 17 00:00:00 2001 From: addshore Date: Fri, 30 Jun 2017 10:54:04 +0100 Subject: [PATCH] Add target support for view_urls Bug: T160676 Change-Id: I07890d17fdf86ece3e01cd8fa0c0e572a4d988c5 --- VectorTemplate.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VectorTemplate.php b/VectorTemplate.php index 234e015fd..52c3c22ca 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -444,6 +444,9 @@ class VectorTemplate extends BaseTemplate { if ( isset ( $link['rel'] ) ) { echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"'; } + if ( isset ( $link['target'] ) ) { + echo ' target="' . htmlspecialchars( $link['target'] ) . '"'; + } ?>>