Previously this would cause the lexer to go in an infinite loop in the "text" state machine. This fixes #37.