Use _blank target instead of invalid _new
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
63a5fdaa21
commit
0a4cdc25f1
@ -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>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user