From 22b63936dba316b78a6a2e44d6d2ea73d92a2159 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 30 Aug 2022 10:53:03 +0800 Subject: org: Modify the published html again * org-conf.el (durand-org-postamble, durand-org-publish-html-advice): Previously I used a new postamble, which caused one previous function to fail to find a certain date information. Now the new postamble uses the expected words to serve as an anchor. In addition, Org adds an attribute "role=\"doc-toc\"" to the table of contents, but this attribute is not allowed for div elements in XHTML 1.0 strict. So I remove that attribute now. --- org-conf.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org-conf.el b/org-conf.el index 3eed2ec..142f8ac 100644 --- a/org-conf.el +++ b/org-conf.el @@ -616,7 +616,7 @@ CC BY-SA .")) "

%s

Author: %s

Email: %s

-

Created: %s

+

Date: %s

%s

%s

" copyleft @@ -1097,6 +1097,8 @@ title." (cond ((search-forward "