Imagine you have the following paragraph:
thisisaverylongwordthatneverbreaks
Applying word-wrap:break-word;
results in:
thisisaverylongwordthat
neverbreaks
This works well, but what if I try:
this is avery long word that has spaces
The output becomes:
this
is
avery
long
word
that
has
spaces
My inquiry is how to achieve this layout:
this is avery long word that
neverbreaks
I want words to wrap at spaces but force breaks on long words. How can I accomplish this?