diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-11-06 00:56:08 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-11-06 00:56:08 +0900 |
| commit | 27f0828420348cfc60921b4f6e04fdf174ab7a0c (patch) | |
| tree | 697e3862adcc579f7649d5e05bbc78592f321bec /sphinx/writers | |
| parent | 8dbb799cb16ab99f58079af344a254d8233a5fff (diff) | |
| download | sphinx-git-27f0828420348cfc60921b4f6e04fdf174ab7a0c.tar.gz | |
Fix #6793: texinfo: Code examples broken following "sidebar"
Diffstat (limited to 'sphinx/writers')
| -rw-r--r-- | sphinx/writers/texinfo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py index 0164465f7..b7a590cad 100644 --- a/sphinx/writers/texinfo.py +++ b/sphinx/writers/texinfo.py @@ -1284,6 +1284,7 @@ class TexinfoTranslator(SphinxTranslator): title = cast(nodes.title, node[0]) self.visit_rubric(title) self.body.append('%s\n' % self.escape(title.astext())) + self.depart_rubric(title) def depart_topic(self, node): # type: (nodes.Element) -> None |
