1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-14 18:55:56 +02:00
This commit is contained in:
Ryan Cramer
2019-04-02 10:44:06 -04:00
parent 7793b79e03
commit e9620a3a47

View File

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