Explorar o código

ox-md: Fix handling of switches in source blocks

* lisp/ox-md.el (org-md-example-block): handle switches and references
  in source blocks.
Nicolas Goaziou %!s(int64=11) %!d(string=hai) anos
pai
achega
2868f962a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/ox-md.el

+ 1 - 1
lisp/ox-md.el

@@ -157,7 +157,7 @@ channel."
   (replace-regexp-in-string
    "^" "    "
    (org-remove-indentation
-    (org-element-property :value example-block))))
+    (org-export-format-code-default example-block info))))
 
 
 ;;;; Headline