diff options
Diffstat (limited to 'markdown/extensions')
-rw-r--r-- | markdown/extensions/__init__.py | 2 | ||||
-rw-r--r-- | markdown/extensions/extra.py | 2 | ||||
-rw-r--r-- | markdown/extensions/md_in_html.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/markdown/extensions/__init__.py b/markdown/extensions/__init__.py index 18ceee6..4712e25 100644 --- a/markdown/extensions/__init__.py +++ b/markdown/extensions/__init__.py @@ -90,7 +90,7 @@ class Extension: def extendMarkdown(self, md): """ - Add the various proccessors and patterns to the Markdown Instance. + Add the various processors and patterns to the Markdown Instance. This method must be overridden by every extension. diff --git a/markdown/extensions/extra.py b/markdown/extensions/extra.py index ebd168c..909ba07 100644 --- a/markdown/extensions/extra.py +++ b/markdown/extensions/extra.py @@ -16,7 +16,7 @@ Python-Markdown that are not included here in Extra. Those extensions are not part of PHP Markdown Extra, and therefore, not part of Python-Markdown Extra. If you really would like Extra to include additional extensions, we suggest creating your own clone of Extra -under a differant name. You could also edit the `extensions` global +under a different name. You could also edit the `extensions` global variable defined below, but be aware that such changes may be lost when you upgrade to any future version of Python-Markdown. diff --git a/markdown/extensions/md_in_html.py b/markdown/extensions/md_in_html.py index ff1d20f..ec7dcba 100644 --- a/markdown/extensions/md_in_html.py +++ b/markdown/extensions/md_in_html.py @@ -252,7 +252,7 @@ class MarkdownInHtmlProcessor(BlockProcessor): 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 - been dissabled, the text content of it and its chidlren are wrapped in an `AtomicString`. + been disabled, the text content of it and its chidlren are wrapped in an `AtomicString`. """ md_attr = element.attrib.pop('markdown', 'off') @@ -329,7 +329,7 @@ class MarkdownInHtmlProcessor(BlockProcessor): # Cleanup stash. Replace element with empty string to avoid confusing postprocessor. self.parser.md.htmlStash.rawHtmlBlocks.pop(index) self.parser.md.htmlStash.rawHtmlBlocks.insert(index, '') - # Comfirm the match to the blockparser. + # Confirm the match to the blockparser. return True # No match found. return False |