summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2016-02-13 17:51:44 +0900
committershimizukawa <shimizukawa@gmail.com>2016-02-14 15:11:06 +0900
commit804e866404fcc1827f86f7aa937ecf6379b5ec6e (patch)
tree81c7ae6441a3b774a9e15e4e56e979bf251775c0 /sphinx/addnodes.py
parentb0897a47c4cdb8a952e47bcd122cde36c246ad03 (diff)
downloadsphinx-git-804e866404fcc1827f86f7aa937ecf6379b5ec6e.tar.gz
Now term nodes in a glossary directive are wrapped with termset node to handle multiple term correctly.
Fix #2251; Line breaks in .rst files are transferred to .pot files in a wrong way.
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index 3ff5772ca..a834adc32 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -208,8 +208,8 @@ class abbreviation(nodes.Inline, nodes.TextElement):
"""Node for abbreviations with explanations."""
-class termsep(nodes.Structural, nodes.Element):
- """Separates two terms within a <term> node."""
+class termset(nodes.Structural, nodes.Element):
+ """A set of <term> node"""
class manpage(nodes.Inline, nodes.TextElement):