We are not escaping failing input in parse errors.
Some characters can be invisible (e.g. zero width space) so user
can't figure out what is going on when he sees parse error.
Solution
Escaping failing input in parse errors.
Related issue(s)
Fixes #49
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Description
Problem
We are not escaping failing input in parse errors. Some characters can be invisible (e.g. zero width space) so user can't figure out what is going on when he sees parse error.
Solution
Escaping failing input in parse errors.
Related issue(s)
Related changes (conditional)
Tests
Documentation
Public contracts
Stylistic guide (mandatory)