Add one space only logic and display
modified:   app/helpers/text_helper.rb
modified:   public/js/application.js