SHould have been part of the commit two commits before.

This commit is contained in:
Kovid Goyal 2007-08-25 15:54:41 +00:00
parent 2fa6b14547
commit c5af71ca01

View File

@ -1257,7 +1257,6 @@ class Markdown:
# #
if inList : if inList :
start, lines = self._linesUntil(lines, (lambda line: start, lines = self._linesUntil(lines, (lambda line:
RE.regExp['ul'].match(line) RE.regExp['ul'].match(line)
or RE.regExp['ol'].match(line) or RE.regExp['ol'].match(line)
@ -1303,8 +1302,8 @@ class Markdown:
for item in list : for item in list :
el.appendChild(item) el.appendChild(item)
if lines: if lines and not lines[0].strip():
lines = lines[1:] # skip the first (blank) line lines = lines[1:] # skip the first (blank) line