X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhelp.php;h=3a21695b090f05ee4f4170620ae22be8078f70d0;hb=166b8ad44035def2517a5588c670b27ddfb2e13c;hp=2c8f68ff35fbef42763fd000c95b9df60708ef97;hpb=7d5494dd67f58e1fc63c6571946e26290092321c;p=friendica.git diff --git a/mod/help.php b/mod/help.php index 2c8f68ff35..3a21695b09 100644 --- a/mod/help.php +++ b/mod/help.php @@ -10,6 +10,7 @@ use Friendica\Core\Config; use Friendica\Core\L10n; use Friendica\Core\Renderer; use Friendica\Core\System; +use Friendica\Util\Strings; function load_doc_file($s) { @@ -47,7 +48,7 @@ function help_content(App $a) $title = basename($path); $filename = $path; $text = load_doc_file('doc/' . $path . '.md'); - $a->page['title'] = L10n::t('Help:') . ' ' . str_replace('-', ' ', notags($title)); + $a->page['title'] = L10n::t('Help:') . ' ' . str_replace('-', ' ', Strings::escapeTags($title)); } $home = load_doc_file('doc/Home.md');