1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-06 14:57:10 +02:00

Fix ProcessPageList label issue reported in ryancramerdesign/PageListCustomChildren#1

This commit is contained in:
Ryan Cramer
2024-12-27 12:54:15 -05:00
parent cef47391ee
commit fa47338eed

View File

@@ -463,9 +463,10 @@ abstract class ProcessPageListRender extends Wire {
$value .= "<span class='label_$field'>";
} else if(strlen($value)) {
$value .= ", ";
$v = strip_tags("$v");
}
$value .= htmlspecialchars(strip_tags("$v"), ENT_QUOTES, "UTF-8", false);
$value .= htmlspecialchars("$v", ENT_QUOTES, "UTF-8", false);
if(empty($options['noTags'])) $value .= "</span>";
}