page: quote link name fallback
[minimedit.git] / article.inc.php
index 7f8e622cde5297f5d71523a42b106a14983f09eb..8600658954243ed9fbb1d99e58f72a0b5a857345 100644 (file)
@@ -89,7 +89,7 @@ class ArchiveArticle
        }
        function name()
        {
-               return $this->safetitle ?: $this->link;
+               return $this->safetitle ?: htmlspecialchars($this->link);
        }
 
        function last()