[Python-checkins] r66486 - doctools/converter/converter/restwriter.py

georg.brandl python-checkins at python.org
Wed Sep 17 10:46:53 CEST 2008


Author: georg.brandl
Date: Wed Sep 17 10:46:53 2008
New Revision: 66486
Log:
Don't wrap URL text.
Modified:
 doctools/converter/converter/restwriter.py
Modified: doctools/converter/converter/restwriter.py
==============================================================================
--- doctools/converter/converter/restwriter.py	(original)
+++ doctools/converter/converter/restwriter.py	Wed Sep 17 10:46:53 2008
@@ -911,7 +911,7 @@
 elif cmdname == 'optional':
 self.visit_wrapped('[', content, ']')
 elif cmdname == 'url':
- self.visit_node(content)
+ self.curpar.append('`<%s>`_' % self.get_node_text(content))
 elif cmdname == 'ulink':
 target = text(node.args[1])
 if target.startswith('..'):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /