summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2013-02-12 21:24:37 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2013-02-12 21:24:37 +0000
commit26bc74833f1bd0f551e05e9c848fb7d948403159 (patch)
tree940833fe2f57a5bf4b0c2fdc1a7228fe12e7b701
parent913c7caf54970cd02d4eba97d12d62228a11ab0e (diff)
downloaddocutils-26bc74833f1bd0f551e05e9c848fb7d948403159.tar.gz
manpage Fix option separating comma was bold (thanks to Bill Morris).
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7601 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--HISTORY.txt4
-rw-r--r--docutils/writers/manpage.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY.txt b/HISTORY.txt
index 978031ec9..e2f6219ce 100644
--- a/HISTORY.txt
+++ b/HISTORY.txt
@@ -45,6 +45,10 @@ Changes Since 0.10
.. _SmartQuotes: docs/user/config.html#smart-quotes
+* docutils/writers/manpage.py
+
+ - Fix option separating comma was bold (thanks to Bill Morris).
+
Release 0.10 (2012-12-16)
=========================
diff --git a/docutils/writers/manpage.py b/docutils/writers/manpage.py
index 9133f060c..94c1cad72 100644
--- a/docutils/writers/manpage.py
+++ b/docutils/writers/manpage.py
@@ -898,7 +898,7 @@ class Translator(nodes.NodeVisitor):
def visit_option(self, node):
# each form of the option will be presented separately
if self.context[-1] > 0:
- self.body.append(', ')
+ self.body.append('\\fP,\\fB ')
if self.context[-3] == '.BI':
self.body.append('\\')
self.body.append(' ')