diff --git a/aprendizations/tools.py b/aprendizations/tools.py index b91a239..ccdb0be 100644 --- a/aprendizations/tools.py +++ b/aprendizations/tools.py @@ -101,14 +101,14 @@ class HighlightRenderer(mistune.Renderer): return highlight(code, lexer, formatter) def table(self, header, body): - return (f'' - f'{header}{body}
') + return '' \ + + header + '' + body + '
' def image(self, src, title, alt): alt = mistune.escape(alt, quote=True) title = mistune.escape(title or '', quote=True) - return (f'') + return f'' # Pass math through unaltered - mathjax does the rendering in the browser def block_math(self, text): -- libgit2 0.21.2