<?php
/** moves non-breaking spaces to right of fselect label **/
add_filter( 'facetwp_facet_html', function( $output, $params ) {
if ( 'my_facet_name' == $params['facet']['name'] ) { // replace 'my_facet_name' with name of your facet
$pattern = '/>([ ]+)([^<]+)/';
$output = preg_replace( $pattern, '>${2} ${1}', $output );
}
return $output;
}, 10, 2 );