fix html in tests descriptions and datasets

This commit is contained in:
faissaloux
2023-11-07 17:35:42 +01:00
parent 0a680dd06e
commit 95ec0a82b2
3 changed files with 13 additions and 2 deletions

View File

@ -193,6 +193,7 @@ trait Testable
$method = TestSuite::getInstance()->tests->get(self::$__filename)->getMethod($this->name());
$description = $this->dataName() ? $method->description.' with '.$this->dataName() : $method->description;
$description = htmlspecialchars(html_entity_decode($description), ENT_NOQUOTES);
if ($method->repetitions > 1) {
$matches = [];