Skip to content

Commit 2f07454

Browse files
committed
Fixed w3c validator 's extra space issue
1 parent f9847c5 commit 2f07454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)