summaryrefslogtreecommitdiffstats
path: root/no-anchorlink.patch
diff options
context:
space:
mode:
Diffstat (limited to 'no-anchorlink.patch')
-rw-r--r--no-anchorlink.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/no-anchorlink.patch b/no-anchorlink.patch
new file mode 100644
index 0000000..2db349c
--- /dev/null
+++ b/no-anchorlink.patch
@@ -0,0 +1,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
+