From 96fee0fc402559401a376b237ebe65bd9710255b Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Thu, 15 Feb 2024 11:43:38 +0100 Subject: [PATCH] Generate HTML5 tags instead of
s with custom classes --- elpa-admin.el | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/elpa-admin.el b/elpa-admin.el index 7831c794ae..f166c6f137 100644 --- a/elpa-admin.el +++ b/elpa-admin.el @@ -1553,24 +1553,19 @@ readme file has an unconventional name"
-
-
+

%s

-
-
+ -
\n" +
\n" title (or head-extra "") (or header title))) (defvar elpaa--index-javascript-headers " - - ") (defun elpaa--html-footer () (format "\n -
-
+
-
+ \n" (format-time-string "%Y-%b-%d %R %Z" nil t) @@ -1950,7 +1944,7 @@ arbitrary code." "
\n" (elpaa--section-to-html news) "\n
\n"))) - (insert "
\n") + (insert "\n") (insert (elpaa--html-footer)) (write-region (point-min) (point-max) (concat name ".html"))))) @@ -1959,15 +1953,16 @@ arbitrary code." (insert (elpaa--html-header (concat elpaa--name " ELPA Packages") nil elpaa--index-javascript-headers)) - (insert "\n") - (insert "\n") + (insert "
PackageVersionDescription
\n") + (insert "\n") + (insert "") (dolist (pkg pkgs) (insert (format "\n" (car pkg) (car pkg) (package-version-join (aref (cdr pkg) 0)) (aref (cdr pkg) 2)))) - (insert "
PackageVersionDescription
%s%s%s
-
+ (insert " +
") (insert (elpaa--html-footer)) -- 2.43.0