Skip to content

Commit 368675c

Browse files
committed
use colour instead of color which aliases to colour
1 parent e0f93c7 commit 368675c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

errbot/rendering/ansiext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from markdown.inlinepatterns import SubstituteTagPattern
1111
from markdown.extensions.fenced_code import FencedBlockPreprocessor
1212

13-
from ansi.color import fg, bg, fx
13+
from ansi.colour import fg, bg, fx
1414
from html import unescape
1515

1616

@@ -498,7 +498,7 @@ def run(self, lines):
498498
if m:
499499
code = self._escape(m.group('code'))
500500

501-
placeholder = self.markdown.htmlStash.store(code, safe=False)
501+
placeholder = self.markdown.htmlStash.store(code)
502502
text = f'{text[:m.start()]}\n{placeholder}\n{text[m.end():]}'
503503
else:
504504
break

0 commit comments

Comments
 (0)