Fix no-break space handling.
Add test cases for the escape sequences.