]> git.mxchange.org Git - friendica.git/blobdiff - mod/help.php
BBCode - fixed syntax error
[friendica.git] / mod / help.php
index 83c2aa5ff3c0c0811dc3f5b6270723b577de8c61..3df280dbd64e0698ccdb1df8f183bea93de5b5a1 100644 (file)
@@ -33,6 +33,7 @@ function help_content(App $a)
        Nav::setSelected('help');
 
        $text = '';
+       $filename = '';
 
        if ($a->argc > 1) {
                $path = '';
@@ -48,7 +49,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('-', ' ', Strings::removeTags($title));
+               $a->page['title'] = L10n::t('Help:') . ' ' . str_replace('-', ' ', Strings::escapeTags($title));
        }
 
        $home = load_doc_file('doc/Home.md');