From: Mischa POSLAWSKY Date: Sat, 12 Dec 2020 16:23:42 +0000 (+0100) Subject: page: quote link name fallback X-Git-Tag: v5.0~11 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/d634e557c4fbdb23d054be46377da7cafb68d7f4 page: quote link name fallback Match title from page html. --- diff --git a/article.inc.php b/article.inc.php index 7f8e622..8600658 100644 --- a/article.inc.php +++ b/article.inc.php @@ -89,7 +89,7 @@ class ArchiveArticle } function name() { - return $this->safetitle ?: $this->link; + return $this->safetitle ?: htmlspecialchars($this->link); } function last()