emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa-admin aa3879770f: * elpa-admin.el (elpaa--html-make-pkg): Fi


From: Stefan Monnier
Subject: [elpa] elpa-admin aa3879770f: * elpa-admin.el (elpaa--html-make-pkg): Fix last change
Date: Thu, 3 Nov 2022 16:56:16 -0400 (EDT)

branch: elpa-admin
commit aa3879770f34ac58be54673d480b02b2e53993f1
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * elpa-admin.el (elpaa--html-make-pkg): Fix last change
    
    Keep the News section within the `div`.
---
 elpa-admin.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index e0149bac72..0e1289e268 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1708,13 +1708,14 @@ arbitrary code."
                               file (elpaa--html-quote file)
                               (format-time-string "%Y-%b-%d" (nth 5 attrs))
                               (elpaa--html-bytes-format (nth 7 attrs)))))))
-        (insert "</table>\n</div>\n"))
+        (insert "</table>\n"))
       (let ((news (elpaa--get-NEWS pkg-spec srcdir)))
         (when news
           (insert "<h2>News</h2>\n"
                   "<div class=\"splice news\">\n"
                   (elpaa--section-to-html news)
                   "\n</div>\n")))
+      (insert </div>\n)
       (insert (elpaa--html-footer))
       (write-region (point-min) (point-max) (concat name ".html")))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]