Issue #1460 - Added option wordWrap (true by default) which changes the CSS 'white-space' property + tests