simplify highlighter newline issue. fixes #239