Template/Escaped Strings

* escape creature subnames in DetailPage
 * escape creature names & subnames in Tooltips
 * js escape inherited filter froms
This commit is contained in:
Sarjuuk
2020-12-19 00:04:35 +01:00
parent 5b414500a7
commit 467a31fa3b
3 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class NpcPage extends GenericPage
$this->notFound(Lang::game('npc'), Lang::npc('notFound'));
$this->name = Util::htmlEscape($this->subject->getField('name', true));
$this->subname = $this->subject->getField('subname', true);
$this->subname = Util::htmlEscape($this->subject->getField('subname', true));
}
protected function generatePath()