Commit 368675c2 authored by Guillaume Binet's avatar Guillaume Binet

use colour instead of color which aliases to colour

parent e0f93c7e
......@@ -10,7 +10,7 @@ from markdown.postprocessors import Postprocessor
from markdown.inlinepatterns import SubstituteTagPattern
from markdown.extensions.fenced_code import FencedBlockPreprocessor
from ansi.color import fg, bg, fx
from ansi.colour import fg, bg, fx
from html import unescape
......@@ -498,7 +498,7 @@ class AnsiPreprocessor(FencedBlockPreprocessor):
if m:
code = self._escape('code'))
placeholder =, safe=False)
placeholder =
text = f'{text[:m.start()]}\n{placeholder}\n{text[m.end():]}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment