Use _blank target instead of invalid _new

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-07-12 11:20:16 +02:00
parent 63a5fdaa21
commit 0a4cdc25f1

View File

@ -55,7 +55,7 @@ abstract class TextLinkTransformationsPlugin extends TransformationsPlugin
. htmlspecialchars($url)
. '" title="'
. htmlspecialchars(isset($options[1]) ? $options[1] : '')
. '" target="_new">'
. '" target="_blank" rel="noopener noreferrer">'
. htmlspecialchars(isset($options[1]) ? $options[1] : $buffer)
. '</a>';
}