use Friendica\Core\L10n;
use Friendica\Core\Renderer;
use Friendica\Core\System;
+use Friendica\Util\Strings;
function load_doc_file($s)
{
$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::removeTags($title));
}
$home = load_doc_file('doc/Home.md');