Jelajahi Sumber

org-md: Add missing chuck from previous patch (536c55b)

* contrib/lisp/org-md.el (org-md-section): # protection shouldn't
  happen at the section level, when there is no difference between raw
  # from export blocks and # in plain text.
Nicolas Goaziou 12 tahun lalu
induk
melakukan
f3e264af56
1 mengubah file dengan 1 tambahan dan 4 penghapusan
  1. 1 4
      contrib/lisp/org-md.el

+ 1 - 4
contrib/lisp/org-md.el

@@ -347,10 +347,7 @@ a communication channel."
   "Transcode SECTION element into Markdown format.
 CONTENTS is the section contents.  INFO is a plist used as
 a communication channel."
-  ;; Protect ambiguous #.  It isn't handled at the plain-text level
-  ;; since it requires a better view of the problem.
-  (replace-regexp-in-string
-   "^\\(?:[ \t]*>[ >]*\\)?\\(#\\)" "\\\\#" contents nil nil 1))
+  contents)
 
 
 ;;;; Template