[Epydoc-commits] SF.net SVN: epydoc: [1193] trunk/epydoc/src/epydoc/markup/epytext.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-04-09 18:10:36
|
Revision: 1193 Author: edloper Date: 2006-04-09 11:10:28 -0700 (Sun, 09 Apr 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1193&view=rev Log Message: ----------- - When rendering a link as plaintext, render the label, not the target Modified Paths: -------------- trunk/epydoc/src/epydoc/markup/epytext.py Modified: trunk/epydoc/src/epydoc/markup/epytext.py =================================================================== --- trunk/epydoc/src/epydoc/markup/epytext.py 2006-04-07 23:40:05 UTC (rev 1192) +++ trunk/epydoc/src/epydoc/markup/epytext.py 2006-04-09 18:10:28 UTC (rev 1193) @@ -1325,7 +1325,7 @@ else: return '%r<%s>' % (variables[0], variables[1]) elif tree.tagName == 'link': if len(variables) != 2: raise ValueError('Bad Link') - return '%s' % variables[1] + return '%s' % variables[0] elif tree.tagName in ('olist', 'ulist'): # [xx] always use condensed lists. ## Use a condensed list if each list item is 1 line long. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |