summaryrefslogtreecommitdiffstats
path: root/no-anchorlink.patch
blob: 2db349c94e609c9799d2d8f61186961a4316a03f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f8358b7a2e3c47410150593e85af342091fe5189 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Sat, 3 Feb 2024 15:11:39 +0100
Subject: [PATCH] Current version of Markdown Python package changed API.

Signed-off-by: rpm-build <rpm-build>
---
 filters/html-converters/md2html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index dc20f42..f61f919 100755
--- a/filters/html-converters/md2html
+++ b/filters/html-converters/md2html
@@ -301,7 +301,7 @@ markdown.markdownFromFile(
 		"markdown.extensions.fenced_code",
 		"markdown.extensions.codehilite",
 		"markdown.extensions.tables",
-		TocExtension(anchorlink=True)],
+		TocExtension()],
 	extension_configs={
 		"markdown.extensions.codehilite":{"css_class":"highlight"}})
 sys.stdout.write("</div>")
-- 
2.43.0