diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-04-01 17:10:52 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-04-01 17:10:52 +0200 |
commit | f7e0e17e828595324f5e3e6a319e51328a197f97 (patch) | |
tree | 1ff973a24cacbc5463b39fd0a67956ffe2890a5c | |
parent | 1c0ce74a1f91360a4daaaed26cb135add5144c34 (diff) | |
download | org-mode-f7e0e17e828595324f5e3e6a319e51328a197f97.tar.gz |
ox-texinfo: Fix colons removal in menu entries
* lisp/ox-texinfo.el (org-texinfo--format-entries): Fix regexp
matching unwanted colons.
Reported-by: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
<http://lists.gnu.org/r/emacs-orgmode/2021-04/msg00008.html>
-rw-r--r-- | lisp/ox-texinfo.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index cf08054..fbf966e 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -1192,7 +1192,7 @@ a plist containing contextual information." ;; Colons are used as a separator between title and node ;; name. Remove them. (replace-regexp-in-string - "[ \t]+:+" "" + "[ \t]*:+" "" (org-texinfo--sanitize-title (org-export-get-alt-title h info) info))) (node (org-texinfo--get-node h info)) |