mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixup
* fix external links by escaping quest name as javascript
This commit is contained in:
@@ -954,7 +954,7 @@ class QuestPage extends GenericPage
|
|||||||
BUTTON_LINKS => array(
|
BUTTON_LINKS => array(
|
||||||
'linkColor' => 'ffffff00',
|
'linkColor' => 'ffffff00',
|
||||||
'linkId' => 'quest:'.$this->typeId.':'.$_level,
|
'linkId' => 'quest:'.$this->typeId.':'.$_level,
|
||||||
'linkName' => Util::htmlEscape($this->subject->getField('name', true)),
|
'linkName' => Util::jsEscape($this->subject->getField('name', true)),
|
||||||
'type' => $this->type,
|
'type' => $this->type,
|
||||||
'typeId' => $this->typeId
|
'typeId' => $this->typeId
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user