summaryrefslogtreecommitdiff
path: root/app/Tree.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Tree.php')
-rw-r--r--app/Tree.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Tree.php b/app/Tree.php
index 353141addc..ea9c671998 100644
--- a/app/Tree.php
+++ b/app/Tree.php
@@ -116,7 +116,7 @@ class Tree {
* @return string
*/
public function getNameHtml() {
- return Filter::escapeHtml($this->name);
+ return Html::escape($this->name);
}
/**
@@ -143,7 +143,7 @@ class Tree {
* @return string
*/
public function getTitleHtml() {
- return '<span dir="auto">' . Filter::escapeHtml($this->title) . '</span>';
+ return '<span dir="auto">' . Html::escape($this->title) . '</span>';
}
/**