Skip to content

Commit

Permalink
Fixed w3c validator 's extra space issue
Browse files Browse the repository at this point in the history
  • Loading branch information
actuallyakash committed Jul 5, 2021
1 parent efafa81 commit d71c7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function getOptions($options) {
$array = [];
foreach ($options as $option) {
if (!empty($option)) {
$array[] = ['text' => $option, 'value' => $option];
$array[] = ['text' => $option, 'value' => trim( $option )];
}
}
return $array;
Expand Down

0 comments on commit d71c7c2

Please sign in to comment.