Append space to paragraph leader in ascii reports. (revert 15388)
svn: r15404
This commit is contained in:
parent
d2d983f10a
commit
a1c96c8a93
@ -236,6 +236,7 @@ class AsciiDoc(BaseDoc,TextDoc):
|
||||
# Then add leader and eat up the beginning of the first line pad.
|
||||
# Do not reformat if preformatted notes
|
||||
if not self.__note_format:
|
||||
self.leader += ' '
|
||||
start_at = regular_indent + min(len(self.leader)+first_indent,0)
|
||||
this_text = reformat_para(self.text,regular_indent,right,fmt,
|
||||
right_pad)
|
||||
|
@ -61,7 +61,7 @@ from gen.utils import get_birth_or_fallback, get_death_or_fallback
|
||||
#------------------------------------------------------------------------
|
||||
class PrintSimple():
|
||||
def number(self, level):
|
||||
return "%d. " % level
|
||||
return "%d." % level
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
@ -79,7 +79,7 @@ class PrintVilliers():
|
||||
to_return = self.pama[level-1]
|
||||
if level > 1:
|
||||
to_return += str(self.num[level-1])
|
||||
to_return += ". "
|
||||
to_return += "."
|
||||
|
||||
self.num[level] = 1
|
||||
self.num[level-1] = self.num[level-1] + 1
|
||||
@ -106,7 +106,7 @@ class PrintMeurgey():
|
||||
self.childnum.append(1)
|
||||
|
||||
to_return = ReportUtils.roman(level) + dash + \
|
||||
str(self.childnum[level-1]) + ". "
|
||||
str(self.childnum[level-1]) + "."
|
||||
|
||||
if level > 1:
|
||||
self.childnum[level-1] += 1
|
||||
|
Loading…
Reference in New Issue
Block a user