Explorar o código

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

Marco Wahl %!s(int64=7) %!d(string=hai) anos
pai
achega
3df62457be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))