Skip to content

Commit

Permalink
use target blank for opening links
Browse files Browse the repository at this point in the history
  • Loading branch information
paulknulst committed Nov 2, 2021
1 parent db0b329 commit f8c6c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function siteHead() {
// Load js plugin in public theme
public function siteBodyEnd() {
$html = '<div class="' . htmlentities($this->getValue('type')) . '">' . PHP_EOL;
$html .= '<a href="' . htmlentities($this->getValue('url')) . '">' . htmlentities($this->getValue('title')) . '</a>' . PHP_EOL;
$html .= '<a href="' . htmlentities($this->getValue('url')) . '" target="_blank">' . htmlentities($this->getValue('title')) . '</a>' . PHP_EOL;
$html .= '</div>' . PHP_EOL;

return $html;
Expand Down

0 comments on commit f8c6c60

Please sign in to comment.