<%= f.select :parent_id, nested_set_options(Category, @category) {|i| "#{' ' * i.level} #{i.name}".html_safe }, {:include_blank => 'Base Category'},{:class => "form-control"} %>
i put the & nbsp;
character instead of -
and set the string as .html_safe