Replace spaces with %20 in the views