From 9824aaa7a5191485d09790c9eabe6d56ed7f6379 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Thu, 1 Jan 2026 01:25:10 +0100 Subject: [PATCH] unfix link with a description to a headline --- lisp/ox-rst/ox-rst.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-rst/ox-rst.el b/lisp/ox-rst/ox-rst.el index f97453d3..26d78313 100644 --- a/lisp/ox-rst/ox-rst.el +++ b/lisp/ox-rst/ox-rst.el @@ -1267,7 +1267,7 @@ INFO is a plist holding contextual information." (if (plist-get info :rst-link-use-ref-role) (if desc (format " :ref:`%s <%s>`" desc raw-path) (format " :ref:`%s`" raw-path)) - (if desc (format "`%s <%s>`_" desc raw-path) + (if desc (format "`<%s>`_" raw-path) ;; desc cannot be used w/o a :role: (format "`%s`_" raw-path))) (format "`%s`_" (org-rst--build-title destination info nil)))) ;; Fuzzy link points to a target.