mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Fix ProcessPageList label issue reported in ryancramerdesign/PageListCustomChildren#1
This commit is contained in:
@@ -463,9 +463,10 @@ abstract class ProcessPageListRender extends Wire {
|
|||||||
$value .= "<span class='label_$field'>";
|
$value .= "<span class='label_$field'>";
|
||||||
} else if(strlen($value)) {
|
} else if(strlen($value)) {
|
||||||
$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>";
|
if(empty($options['noTags'])) $value .= "</span>";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user