summaryrefslogtreecommitdiff
path: root/sphinx/writers/html.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-26 11:49:51 +0100
committerGeorg Brandl <georg@python.org>2014-01-26 11:49:51 +0100
commit17415fdff3b2232b2b84cef56c959b8ff51963a6 (patch)
tree0e4134477cd55fe336dd0ab94a329a26f978429f /sphinx/writers/html.py
parentdaaa3be99e53a01f3732f7c5f16d4942f7522008 (diff)
downloadsphinx-17415fdff3b2232b2b84cef56c959b8ff51963a6.tar.gz
Follow-up to #1355: replace <big> tag by <span class="sig-paren">.
Diffstat (limited to 'sphinx/writers/html.py')
-rw-r--r--sphinx/writers/html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/writers/html.py b/sphinx/writers/html.py
index 431385cb..ecd02a73 100644
--- a/sphinx/writers/html.py
+++ b/sphinx/writers/html.py
@@ -130,7 +130,7 @@ class HTMLTranslator(BaseTranslator):
self.body.append('</tt>')
def visit_desc_parameterlist(self, node):
- self.body.append('<big>(</big>')
+ self.body.append('<span class="sig-paren">(</span>')
self.first_param = 1
self.optional_param_level = 0
# How many required parameters are left.
@@ -138,7 +138,7 @@ class HTMLTranslator(BaseTranslator):
for c in node.children])
self.param_separator = node.child_text_separator
def depart_desc_parameterlist(self, node):
- self.body.append('<big>)</big>')
+ self.body.append('<span class="sig-paren">)</span>')
# If required parameters are still to come, then put the comma after
# the parameter. Otherwise, put the comma before. This ensures that