From a5bd6ddc8a85fcba4548c97153b93cfe41a0548f Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Thu, 27 Feb 2025 02:29:53 +0100 Subject: [PATCH] Misc/Fixup * fix external links by escaping quest name as javascript --- pages/quest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/quest.php b/pages/quest.php index ae9b1e79..14c2355d 100644 --- a/pages/quest.php +++ b/pages/quest.php @@ -954,7 +954,7 @@ class QuestPage extends GenericPage BUTTON_LINKS => array( 'linkColor' => 'ffffff00', 'linkId' => 'quest:'.$this->typeId.':'.$_level, - 'linkName' => Util::htmlEscape($this->subject->getField('name', true)), + 'linkName' => Util::jsEscape($this->subject->getField('name', true)), 'type' => $this->type, 'typeId' => $this->typeId )