Skip to content

Commit

Permalink
Escape the value on display
Browse files Browse the repository at this point in the history
  • Loading branch information
mlantz committed Jun 12, 2017
1 parent 02dc9fc commit f4e1872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generators/HtmlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function isMultiple($config, $response)
public function getPopulation($config)
{
if ($config['populated'] && ($config['name'] !== $config['objectValue'])) {
return 'value="'.$config['objectValue'].'"';
return 'value="'.e($config['objectValue']).'"';
}

return '';
Expand Down

0 comments on commit f4e1872

Please sign in to comment.