Small bug with the highlighthelper

- ending the input with a break line will cause the highlter to fail
- fixed