Break Word?

On my app I allow users to post comments. I'm afraid some user might post something like this:


This will stretch my page and mess up my entire layout. Rails' break_word helper doesn't work in this case, so how I avoid this, using either Ruby or CSS?

Thanks in advance