From bc6aef13e7bbe0217a66a3966d3f80af9b29a060 Mon Sep 17 00:00:00 2001 From: tandr3w Date: Sat, 16 Mar 2024 23:02:13 -0400 Subject: [PATCH] Make markdown tables horizontally scrollable by default --- judge/jinja2/markdown/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/jinja2/markdown/__init__.py b/judge/jinja2/markdown/__init__.py index 6f64414089..420a633b40 100644 --- a/judge/jinja2/markdown/__init__.py +++ b/judge/jinja2/markdown/__init__.py @@ -62,8 +62,8 @@ def autolink(self, link, is_email=False): def table(self, header, body): return ( - '\n%s\n' - '\n%s\n
\n' + '
\n\n%s\n' + '\n%s\n
\n
\n' ) % (header, body) def link(self, link, title, text):