diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-11-22 22:49:06 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-11-22 22:49:06 -0500 |
commit | fb5fee2c4052a7d9b415cbf49c55b28b434c49c4 (patch) | |
tree | 0599adda2e93a577d9c22977b68f855c8ad96173 | |
parent | 3158c3467fe521422e211c8937033018f942d549 (diff) | |
download | markdown-fb5fee2c4052a7d9b415cbf49c55b28b434c49c4.tar.gz markdown-fb5fee2c4052a7d9b415cbf49c55b28b434c49c4.tar.bz2 markdown-fb5fee2c4052a7d9b415cbf49c55b28b434c49c4.zip |
Fixed minor typo in each of previous two commits.
-rw-r--r-- | markdown/blockprocessors.py | 2 | ||||
-rw-r--r-- | markdown/extensions/def_list.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/markdown/blockprocessors.py b/markdown/blockprocessors.py index 2ae4d08..8ad3401 100644 --- a/markdown/blockprocessors.py +++ b/markdown/blockprocessors.py @@ -146,7 +146,7 @@ class ListIndentProcessor(BlockProcessor): def create_item(parent, block): """ Create a new li and parse the block with it as the parent. """ - li = markdown.etree.SubElement(sibling, 'li') + li = markdown.etree.SubElement(parent, 'li') self.parser.parseBlocks(li, [block]) diff --git a/markdown/extensions/def_list.py b/markdown/extensions/def_list.py index 616f808..73a1c85 100644 --- a/markdown/extensions/def_list.py +++ b/markdown/extensions/def_list.py @@ -81,7 +81,7 @@ class DefListIndentProcessor(markdown.blockprocessors.ListIndentProcessor): def create_item(parent, block): """ Create a new dd and parse the block with it as the parent. """ - dd = markdown.etree.SubElement(sibling, 'dd') + dd = markdown.etree.SubElement(parent, 'dd') self.parser.parseBlocks(dd, [block]) |