aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-22 12:09:19 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-22 12:09:19 +0200
commit5395b173aa514b5dc99768c259f7b04c97ff9743 (patch)
tree1843d03a0ca40ca8823e55354641ff97d8229265 /include
parent735f9c7a45fc1f5b149bb1798a2d438516655a5c (diff)
downloadvolse-hubzilla-5395b173aa514b5dc99768c259f7b04c97ff9743.tar.gz
volse-hubzilla-5395b173aa514b5dc99768c259f7b04c97ff9743.tar.bz2
volse-hubzilla-5395b173aa514b5dc99768c259f7b04c97ff9743.zip
implement the new anchor target behaviour
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 544e7aa68..11062a1b2 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1379,7 +1379,7 @@ function prepare_body(&$item,$attach = false) {
if($is_photo) {
$object = json_decode($item['object'],true);
- $photo = '<a href="' . zid(rawurldecode(get_rel_link($object['link'],'alternate'))) . '"><img style="max-width:' . $object['width'] . 'px; width:100%; height:auto;" src="'. zid(rawurldecode($object['id'])) . '"></a>';
+ $photo = '<a href="' . zid(rawurldecode(get_rel_link($object['link'],'alternate'))) . '" target="_newwin"><img style="max-width:' . $object['width'] . 'px; width:100%; height:auto;" src="'. zid(rawurldecode($object['id'])) . '"></a>';
}
$prep_arr = array(