about summary refs log tree commit diff
path: root/third_party/cgit
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-12-04T12·13+0100
committerVincent Ambo <mail@tazj.in>2021-09-21T11·10+0300
commit44996c446110e6c3ff88d2869b475e9a8e82ab7a (patch)
treee9702cd8ab603c78768041839020b67ea452c918 /third_party/cgit
parent86f79015336ac7f001bcc9eb740cf1a6c3801594 (diff)
refactor(3p/cgit): md2html: use sane_lists extension r/2896
This allows for cleaner nesting semantics and matches github more
closely.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Change-Id: I93dacc0c276fefb28d67379ef38b8647c584244b
Diffstat (limited to 'third_party/cgit')
-rwxr-xr-xthird_party/cgit/filters/html-converters/md2html1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/cgit/filters/html-converters/md2html b/third_party/cgit/filters/html-converters/md2html
index dc20f42a05cf..f505cb235423 100755
--- a/third_party/cgit/filters/html-converters/md2html
+++ b/third_party/cgit/filters/html-converters/md2html
@@ -301,6 +301,7 @@ markdown.markdownFromFile(
 		"markdown.extensions.fenced_code",
 		"markdown.extensions.codehilite",
 		"markdown.extensions.tables",
+		"markdown.extensions.sane_lists",
 		TocExtension(anchorlink=True)],
 	extension_configs={
 		"markdown.extensions.codehilite":{"css_class":"highlight"}})