From 0d073e07ebbf9bf3f9897a8c31dd8c11865afd4c Mon Sep 17 00:00:00 2001 From: Thomas Hanke Date: Tue, 17 Dec 2024 13:16:37 +0100 Subject: [PATCH] removed hashes --- .../markdown_view/markdown_view.html | 106 +++++++++--------- 1 file changed, 51 insertions(+), 55 deletions(-) diff --git a/ckanext/markdown_view/templates/markdown_view/markdown_view.html b/ckanext/markdown_view/templates/markdown_view/markdown_view.html index f528274..8e1c9a7 100644 --- a/ckanext/markdown_view/templates/markdown_view/markdown_view.html +++ b/ckanext/markdown_view/templates/markdown_view/markdown_view.html @@ -1,80 +1,76 @@ - + +
- - - - - + + + + // Inject the sanitized HTML into the page + document.getElementById("markdown_content").innerHTML = sanitizedContent; + }) + .catch(error => console.error("Failed to load Markdown content:", error)); + \ No newline at end of file