Properly handle non-breaking lines of text in various areas