mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
nroff: Fix the escape of '.'.
Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Alex Wang <alexw@nicira.com>
This commit is contained in:
@@ -47,7 +47,7 @@ def textToNroff(s, font=r'\fR'):
|
||||
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")
|
||||
|
||||
|
Reference in New Issue
Block a user