Strip tags from user tagline.txt files

This commit is contained in:
Anton McClure 2021-03-14 17:41:54 +00:00 committed by Ben Harris
parent dcb2a67ff1
commit 36ddf8b7a6
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
$user = basename($user);
$tagline = "/home/$user/public_html/tagline.txt";
if (!is_file($tagline)) continue;
$tag = file_get_contents($tagline);
$tag = strip_tags(file_get_contents($tagline));
?>
<p><a href="/~<?=$user?>/"><strong>~<?=$user?></strong></a> - <?=$tag?></p>
<?php } ?>