-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roff: dots are not escaped correctly at beginning of line #46
Comments
Here's a testcase: |
Here's a fix: |
See #65. That may also fix this issue. |
sometimesfood
added a commit
to sometimesfood/ronn
that referenced
this issue
Aug 2, 2014
sometimesfood
added a commit
to sometimesfood/ronn
that referenced
this issue
Aug 2, 2014
- Move the escaping for dots at the beginning of a line from the line level (write) to the node level (escape). (That's why some unnecessary escapes remain unchanged.) - This also fixes rtomayko#46 ("roff: dots are not escaped correctly at beginning of line").
If you're still interested, I've fixed this case in my Ronn-NG fork at apjanke/ronn-ng#17. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While dots at the beginning of a line are escaped correctly, the check in the write method does not catch all cases where there are spaces in front of the dot in a NF:
The text was updated successfully, but these errors were encountered: