diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 582aff5258..7884476414 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -148,7 +148,10 @@ class egw_link extends solink 'mime_popup' => '640x480', 'mime_target' => '_blank', ), - '/^text\\//' => array( // text/* as preg, no modifier! + 'text\\//' => array( // text/* as preg, no modifier! + 'mime_target' => '_browser', + ), + '/^text\\/(plain|html|diff)/' => array( // text/(mimetypes which can be opened as recognised popups) 'mime_popup' => '640x480', 'mime_target' => '_blank', ),