li class="word weight-#{word.weight}"
  = link_to word.name.strip, "/?q=#{ word.name }"

li> class="word weight-#{word.weight}"
  = link_to word.name.strip, "/?q=#{ word.name }"

Add space after word in Search History
Add space after word in Search History

bensheldon/panlexicon-rails,bensheldon/panlexicon-rails,bensheldon/panlexicon-rails