Browse Source

ox-man: Fix org-man--protect-text

Marco Wahl 1 year ago
parent
commit
3df62457be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-man.el

+ 1 - 1
lisp/ox-man.el

@@ -287,7 +287,7 @@ This function shouldn't be used for floats.  See
 
 (defun org-man--protect-text (text)
   "Protect minus and backslash characters in string TEXT."
-  (replace-regexp-in-string "-" "\\-" nil t))
+  (replace-regexp-in-string "-" "\\-" text nil t))