From bb613338668c3430ff2f7c1c4eef7d95033303aa Mon Sep 17 00:00:00 2001 From: GlazerMann Date: Sat, 4 Nov 2023 20:59:55 -0500 Subject: [PATCH] Update Template.php --- Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Template.php b/Template.php index 69905bf1d5..e4a4a1fcb7 100644 --- a/Template.php +++ b/Template.php @@ -3752,7 +3752,7 @@ public function tidy_parameter(string $param) : void { } if (in_array(str_replace(array('-','0','1','2','3','4','5','6','7','8','9'), '', strtolower($param)), ['authorlink', 'chapterlink', 'contributorlink', 'editorlink', 'episodelink', 'interviewerlink', 'inventorlink', 'serieslink', - 'subjectlink', 'titlelink', 'translatorlink']) && $this->has($param)) { + 'subjectlink', 'titlelink', 'translatorlink']) && $this->has($param) && (stripos($this->get($param), 'http') === FALSE)) { $this->set($param, safe_preg_replace('~_~u', ' ', $this->get($param))); }