Fix #5: large margins caused word_wrap to loop forever
code formatting