@@ -49,9 +49,9 @@ def __init__(self, parser):
49
49
self .content_indention = 0
50
50
51
51
def parse_content (self , parent , block ):
52
- """Get sibling admontion .
52
+ """Get sibling admonition .
53
53
54
- Retrieve the appropriate siblimg element. This can get trickly when
54
+ Retrieve the appropriate sibling element. This can get tricky when
55
55
dealing with lists.
56
56
57
57
"""
@@ -72,8 +72,8 @@ def parse_content(self, parent, block):
72
72
if sibling is None or sibling .get ('class' , '' ).find (self .CLASSNAME ) == - 1 :
73
73
sibling = None
74
74
else :
75
- # If the last child is a list and the content is idented sufficient
76
- # to be under it, then the content's is sibling is in the list.
75
+ # If the last child is a list and the content is sufficiently indented
76
+ # to be under it, then the content's sibling is in the list.
77
77
last_child = self .lastChild (sibling )
78
78
indent = 0
79
79
while last_child :
@@ -83,12 +83,12 @@ def parse_content(self, parent, block):
83
83
):
84
84
85
85
# The expectation is that we'll find an <li> or <dt>.
86
- # We should get it's last child as well.
86
+ # We should get its last child as well.
87
87
sibling = self .lastChild (last_child )
88
88
last_child = self .lastChild (sibling ) if sibling else None
89
89
90
90
# Context has been lost at this point, so we must adjust the
91
- # text's identation level so it will be evaluated correctly
91
+ # text's indentation level so it will be evaluated correctly
92
92
# under the list.
93
93
block = block [self .tab_length :]
94
94
indent += self .tab_length
0 commit comments