Skip to content

Commit d71c7c2

Browse files
committed
Fixed w3c validator 's extra space issue
1 parent efafa81 commit d71c7c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function getOptions($options) {
3535
$array = [];
3636
foreach ($options as $option) {
3737
if (!empty($option)) {
38-
$array[] = ['text' => $option, 'value' => $option];
38+
$array[] = ['text' => $option, 'value' => trim( $option )];
3939
}
4040
}
4141
return $array;

0 commit comments

Comments
 (0)