added hardWrap option
Merge branch 'fix-hard-wrap'