Fix #1498: manpage writer: don't make whole of item in definition list bold if it includes strong node

This commit is contained in:
Takeshi KOMIYA
2016-03-06 17:49:49 +09:00
parent 720c9706de
commit 549b6e27df
4 changed files with 21 additions and 0 deletions

View File

@@ -52,3 +52,12 @@ y. y
#. z
#. {
definition lists
-----------------
term1
description
term2 (**stronged partially**)
description

View File

@@ -21,3 +21,7 @@ def test_all(app, status, warning):
content = (app.outdir / 'SphinxTests.1').text()
assert r'\fBprint \fP\fIi\fP\fB\en\fP' in content
assert r'\fBmanpage\en\fP' in content
# term of definition list including nodes.strong
assert '\n.B term1\n' in content
assert '\nterm2 (\\fBstronged partially\\fP)\n' in content