projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d2b7c
)
nroff: Fix the escape of '.'.
author
Ben Pfaff
<blp@nicira.com>
Tue, 23 Jun 2015 18:06:01 +0000
(11:06 -0700)
committer
Alex Wang
<alexw@nicira.com>
Tue, 23 Jun 2015 18:06:51 +0000
(11:06 -0700)
Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
python/build/nroff.py
patch
|
blob
|
history
diff --git
a/python/build/nroff.py
b/python/build/nroff.py
index
050518c
..
078ec4b
100644
(file)
--- a/
python/build/nroff.py
+++ b/
python/build/nroff.py
@@
-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")