Created using HTML:
Text without a word break opportunity between a's and b's:

aaaaaaaaabbbbbbbbbbbb



Text with a word break opportunity between a's and b's:

aaaaaaaaabbbbbbbbbbbb



Created using JavaScript: