Skip to content

Commit

Permalink
nroff: Fix the escape of '.'.
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Wang <[email protected]>
Acked-by: Alex Wang <[email protected]>
  • Loading branch information
blp authored and yew011 committed Jun 23, 2015
1 parent 31d2b7c commit 7102846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/build/nroff.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def escape(match):
elif c == ".":
# groff(7) says that . can be escaped by \. but in practice groff
# still gives an error with \. at the beginning of a line.
return font + "."
return r'\[char46]'
else:
raise error.Error("bad escape")

Expand Down

0 comments on commit 7102846

Please sign in to comment.