Merge pull request #2980 from sergeyklay/fix/strip-title-for-the-teams

Strip HTML tags for the page title
This commit is contained in:
Christian Beer 2019-02-02 10:59:28 +01:00 committed by GitHub
commit 902833b307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ if (!$team) {
set_cached_data(TEAM_PAGE_TTL, serialize($team), $cache_args); set_cached_data(TEAM_PAGE_TTL, serialize($team), $cache_args);
} }
page_head(tra("Members of %1", "<a href=team_display.php?teamid=$teamid>$team->name</a>")); page_head(tra("Members of %1", $team->name));
display_team_members($team, $offset, $sort_by); display_team_members($team, $offset, $sort_by);
page_tail(); page_tail();