We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent addee97 commit 802af99Copy full SHA for 802af99
1 file changed
html_attribute.py
@@ -130,11 +130,11 @@ class SafeRawHtmlPostprocessor(postprocessors.Postprocessor):
130
HTML_TAG_RE = re.compile(r'^\<\/?([a-zA-Z0-9]+)[^\>]*\>$')
131
132
def run(self, text):
133
- for i in range(self.markdown.htmlStash.html_counter):
134
- html = self.markdown.htmlStash.rawHtmlBlocks[i]
+ for i in range(self.md.htmlStash.html_counter):
+ html = self.md.htmlStash.rawHtmlBlocks[i]
135
# if not safe:
136
# html = self.escape(html)
137
- text = text.replace(self.markdown.htmlStash.get_placeholder(i), html)
+ text = text.replace(self.md.htmlStash.get_placeholder(i), html)
138
return text
139
140
def escape(self, html):
0 commit comments