3970: Append space to paragraph leader in ascii docgen

svn: r15408
This commit is contained in:
Nick Hall 2010-05-13 18:45:46 +00:00
parent d323b5013f
commit 9c6d5ea86b

View File

@ -236,6 +236,7 @@ class AsciiDoc(BaseDoc,TextDoc):
# Then add leader and eat up the beginning of the first line pad. # Then add leader and eat up the beginning of the first line pad.
# Do not reformat if preformatted notes # Do not reformat if preformatted notes
if not self.__note_format: if not self.__note_format:
self.leader += ' '
start_at = regular_indent + min(len(self.leader)+first_indent,0) start_at = regular_indent + min(len(self.leader)+first_indent,0)
this_text = reformat_para(self.text,regular_indent,right,fmt, this_text = reformat_para(self.text,regular_indent,right,fmt,
right_pad) right_pad)