always exists, no need to check for isset()

This commit is contained in:
Tac Tacelosky 2021-11-08 07:47:27 -05:00
parent fd531bd53e
commit 284ee15c8f

View file

@ -765,7 +765,7 @@ class Markdown implements MarkdownInterface {
$url = $this->encodeURLAttribute($url);
$result = "<a href=\"$url\"";
if (isset($title)) {
if ($title) {
$title = $this->encodeAttribute($title);
$result .= " title=\"$title\"";
}