|
|
|
@ -212,7 +212,7 @@ class SourceBlock: |
|
|
|
|
# extract comment lines |
|
|
|
|
lines = [] |
|
|
|
|
|
|
|
|
|
for line0 in self.lines[1:]: |
|
|
|
|
for line0 in self.lines: |
|
|
|
|
m = self.format.column.match( line0 ) |
|
|
|
|
if m: |
|
|
|
|
lines.append( m.group(1) ) |
|
|
|
@ -223,7 +223,7 @@ class SourceBlock: |
|
|
|
|
if len(l) > 0: |
|
|
|
|
for tag in re_markup_tags: |
|
|
|
|
if tag.match( l ): |
|
|
|
|
self.content = lines |
|
|
|
|
self.content = lines |
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
def location( self ): |
|
|
|
@ -304,7 +304,7 @@ class SourceProcessor: |
|
|
|
|
if self.format.end.match( line ): |
|
|
|
|
# that's a normal block end, add it to lines and |
|
|
|
|
# create a new block |
|
|
|
|
# self.lines.append( line ) |
|
|
|
|
self.lines.append( line ) |
|
|
|
|
self.add_block_lines() |
|
|
|
|
|
|
|
|
|
elif self.format.column.match( line ): |
|
|
|
|