summaryrefslogtreecommitdiff
path: root/sphinx/writers/html5.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/writers/html5.py')
-rw-r--r--sphinx/writers/html5.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/writers/html5.py b/sphinx/writers/html5.py
index 1df9bb466..95dc92052 100644
--- a/sphinx/writers/html5.py
+++ b/sphinx/writers/html5.py
@@ -145,9 +145,9 @@ class HTML5Translator(SphinxTranslator, BaseTranslator):
pass
def visit_desc_returns(self, node: Element) -> None:
- self.body.append(' <span class="sig-return"><span class="sig-return-icon">')
- self.body.append(self.config.html_signaturereturn_icon)
- self.body.append('</span> <span class="sig-return-typehint">')
+ self.body.append(' <span class="sig-return">')
+ self.body.append('<span class="sig-return-icon">&#x2192;</span>')
+ self.body.append(' <span class="sig-return-typehint">')
def depart_desc_returns(self, node: Element) -> None:
self.body.append('</span></span>')