mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 19:54:24 +02:00
Fix issue processwire/processwire-issues#726
This commit is contained in:
@@ -181,6 +181,7 @@ abstract class ProcessPageListRender extends Wire {
|
|||||||
if(!strlen("$v")) continue;
|
if(!strlen("$v")) continue;
|
||||||
|
|
||||||
if(empty($options['noTags'])) $value .= "<span class='label_$field'>";
|
if(empty($options['noTags'])) $value .= "<span class='label_$field'>";
|
||||||
|
else if(strlen($value)) $value .= ", ";
|
||||||
$value .= htmlspecialchars(strip_tags("$v"), ENT_QUOTES, "UTF-8", false);
|
$value .= htmlspecialchars(strip_tags("$v"), ENT_QUOTES, "UTF-8", false);
|
||||||
if(empty($options['noTags'])) $value .= "</span>";
|
if(empty($options['noTags'])) $value .= "</span>";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user