Apply htmlspecialchars to basic values.
This commit is contained in:
parent
4bf4641428
commit
237f4005bd
@ -208,7 +208,7 @@ class GenericTable
|
||||
{
|
||||
// Basic option: simply take a use a particular data property.
|
||||
case 'value':
|
||||
$value = $rowData[$options['data']];
|
||||
$value = htmlspecialchars($rowData[$options['data']]);
|
||||
break;
|
||||
|
||||
// Processing via a lambda function.
|
||||
|
Loading…
Reference in New Issue
Block a user