Fix rhtml problems with spacebar and long lings