diff --git a/lisp/oc.el b/lisp/oc.el index 72e1779e2..1d0d46153 100644 --- a/lisp/oc.el +++ b/lisp/oc.el @@ -1241,7 +1241,7 @@ and must return either a string, an object, or a secondary string." ((stringp str) (capitalize str)) ((org-element-type-p str 'raw) (org-export-raw-string - (upcase (org-element-contents str)))) + (upcase (mapconcat #'identity (org-element-contents str) "")))) (t (error "%S must be either a string or raw string object" str))))