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 )