]> git.pld-linux.org Git - packages/epydoc.git/blame - epydoc-cons_fields_stripping.patch
- fix to stripping the leading ':' or '-' from consolidated fields
[packages/epydoc.git] / epydoc-cons_fields_stripping.patch
CommitLineData
d8faf023
JK
1--- epydoc-3.0.1/epydoc/markup/restructuredtext.py.orig 2011-06-26 10:08:26.000000000 +0200
2+++ epydoc-3.0.1/epydoc/markup/restructuredtext.py 2011-06-28 20:47:31.000000000 +0200
3@@ -493,7 +493,8 @@
4 child = child[1:].lstrip()
5 elif child[:2] in (' -', ' :'):
6 child = child[2:].lstrip()
7-
8+ fbody[0][0] = docutils.nodes.Text(child)
9+
10 # Wrap the field body, and add a new field
11 self._add_field(tagname, arg, fbody)
12
This page took 0.071646 seconds and 4 git commands to generate.