diff --git a/Web/Models/Entities/User.php b/Web/Models/Entities/User.php index 29af3cdfd..48ee90381 100644 --- a/Web/Models/Entities/User.php +++ b/Web/Models/Entities/User.php @@ -209,7 +209,9 @@ public function getFullName(): string $pseudo = " ($pseudo) "; } - return $this->getFirstName() . $pseudo . $this->getLastName(); + $fullName = $this->getFirstName() . $pseudo . $this->getLastName(); + + return strip_tags($fullName); } public function getMorphedName(string $case = "genitive", bool $fullName = true, bool $startWithLastName = true): string