summaryrefslogtreecommitdiff
path: root/markdown/extensions/md_in_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/extensions/md_in_html.py')
-rw-r--r--markdown/extensions/md_in_html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/extensions/md_in_html.py b/markdown/extensions/md_in_html.py
index 81cc15c..ff1d20f 100644
--- a/markdown/extensions/md_in_html.py
+++ b/markdown/extensions/md_in_html.py
@@ -248,7 +248,7 @@ class MarkdownInHtmlProcessor(BlockProcessor):
def parse_element_content(self, element):
"""
- Resursively parse the text content of an etree Element as Markdown.
+ Recursively parse the text content of an etree Element as Markdown.
Any block level elements generated from the Markdown will be inserted as children of the element in place
of the text content. All `markdown` attributes are removed. For any elements in which Markdown parsing has
@@ -268,7 +268,7 @@ class MarkdownInHtmlProcessor(BlockProcessor):
for child in list(element):
self.parse_element_content(child)
- # Parse Markdown text in tail of children. Do this seperate to avoid raw HTML parsing.
+ # Parse Markdown text in tail of children. Do this separate to avoid raw HTML parsing.
# Save the position of each item to be inserted later in reverse.
tails = []
for pos, child in enumerate(element):