branch: externals/hyperbole
commit 405244097fb8402810d69e8db145720eafff5ab9
Author: bw <r...@gnu.org>
Commit: bw <r...@gnu.org>

    hywiki-org-make-publish-project-alist - Add :html-prefer-user-labels
---
 ChangeLog | 4 ++++
 hywiki.el | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b1e37c32d0..bf4b1fec53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
     be sent to the browser for display even though recognized as a url.  Had
     to add "https://"; to the front of any such url.
 
+* hywiki.el (hywiki-org-make-publish-project-alist): Add
+    :html-prefer-user-labels t to make Org use normalized headlines as href
+    IDs.
+
 * hypb.el (hypb:in-string-p): Fix 'texinfo-mode' string not returning a list
     when 'range-flag' is given.
   test/hypb-tests.el (hypb--in-string-p): Enable this test since fixed now.
diff --git a/hywiki.el b/hywiki.el
index 11872f0b4f..83fc41a824 100644
--- a/hywiki.el
+++ b/hywiki.el
@@ -3,7 +3,7 @@
 ;; Author:       Bob Weiner
 ;;
 ;; Orig-Date:    21-Acpr-24 at 22:41:13
-;; Last-Mod:     27-May-25 at 02:05:56 by Bob Weiner
+;; Last-Mod:     28-May-25 at 01:15:45 by Bob Weiner
 ;;
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
@@ -439,6 +439,7 @@ where PATH is the un-resolvable reference."
         :html-postable-format '(("en" "<p class=\"author\">Author: %a (%e)</p>
                                   <p class=\"last-mod\">Last Modified: %C</p>
                                   <p class=\"creator\">%c</p>"))
+        :html-prefer-user-labels t
         :makeindex nil
         :publishing-directory hywiki-org-publishing-directory
         :publishing-function hywiki-org-publishing-function
@@ -3540,13 +3541,13 @@ This must be called within a `save-excursion' or it may 
move point."
   "Return a unique reference for DATUM, as a string.
 Like `org-export-get-reference' but uses modified heading strings as
 link ids rather than generated ids.  To form an id, spaces in headings
-are replaces with dashes and to make each id unique, heading parent
+are replaced with dashes and to make each id unique, heading parent
 ids are prepended separated by '--'.
 
 DATUM is either an element or an object.  INFO is the current
 export state, as a plist.
 
-References for the current document are stored in
+References for the current document are stored in the
 `:internal-references' property.  Its value is an alist with
 associations of the following types:
 

Reply via email to