diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2015-03-14 20:39:46 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2018-01-11 19:04:49 -0500 |
commit | 7f63b20b819b83afef0ddadc2e210ddce32a2be3 (patch) | |
tree | c92e6bbd942e65588466c5800a32545fc1d57948 /markdown/util.py | |
parent | 6366e5ae8f0ae19c033a2c24c217001c1512292b (diff) | |
download | markdown-7f63b20b819b83afef0ddadc2e210ddce32a2be3.tar.gz markdown-7f63b20b819b83afef0ddadc2e210ddce32a2be3.tar.bz2 markdown-7f63b20b819b83afef0ddadc2e210ddce32a2be3.zip |
Removed deprecated safe_mode.
Diffstat (limited to 'markdown/util.py')
-rw-r--r-- | markdown/util.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/markdown/util.py b/markdown/util.py index 9e87019..8897195 100644 --- a/markdown/util.py +++ b/markdown/util.py @@ -141,7 +141,7 @@ class HtmlStash(object): self.tag_counter = 0 self.tag_data = [] # list of dictionaries in the order tags appear - def store(self, html, safe=False): + def store(self, html): """ Saves an HTML segment for later reinsertion. Returns a placeholder string that needs to be inserted into the @@ -150,12 +150,11 @@ class HtmlStash(object): Keyword arguments: * html: an html segment - * safe: label an html segment as safe for safemode Returns : a placeholder string """ - self.rawHtmlBlocks.append((html, safe)) + self.rawHtmlBlocks.append(html) placeholder = self.get_placeholder(self.html_counter) self.html_counter += 1 return placeholder |