Skip to content
Permalink
Browse files

fixes too much text in md, rst builders for hyperlinks

  • Loading branch information...
sdpython committed Oct 14, 2018
1 parent 8fbd6fb commit 25ab945bce0ddcead30e65ad09f516ce8e2c62cb
@@ -776,6 +776,8 @@ def clean_refuri(uri):
else:
name = node['name'] if 'name' in node else node.astext()
self.add_text('[%s](%s)' % (name, node['refuri']))
if 'internal' in node:
raise nodes.SkipNode

def depart_reference(self, node):
if 'refuri' not in node:
@@ -838,6 +838,8 @@ def clean_refuri(uri):
else:
name = node['name'] if 'name' in node else node.astext()
self.add_text('`%s <%s>`_' % (name, node['refuri']))
if 'internal' in node:
raise nodes.SkipNode

def depart_reference(self, node):
if 'refuri' not in node:

0 comments on commit 25ab945

Please sign in to comment.
You can’t perform that action at this time.