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 e0f93c7 commit 368675cCopy full SHA for 368675c
errbot/rendering/ansiext.py
@@ -10,7 +10,7 @@
10
from markdown.inlinepatterns import SubstituteTagPattern
11
from markdown.extensions.fenced_code import FencedBlockPreprocessor
12
13
-from ansi.color import fg, bg, fx
+from ansi.colour import fg, bg, fx
14
from html import unescape
15
16
@@ -498,7 +498,7 @@ def run(self, lines):
498
if m:
499
code = self._escape(m.group('code'))
500
501
- placeholder = self.markdown.htmlStash.store(code, safe=False)
+ placeholder = self.markdown.htmlStash.store(code)
502
text = f'{text[:m.start()]}\n{placeholder}\n{text[m.end():]}'
503
else:
504
break
0 commit comments